The commit not only re-ordered the imports, but also changed how the
cobbler are performed.

This results in my test rig, when I try to navigate to a /cblr/svc/op
URL:

 mod_wsgi (pid=23529): Exception occurred processing WSGI script 
'/var/www/cobbler/svc/services.py'.
 Traceback (most recent call last):
   File "/var/www/cobbler/svc/services.py", line 41, in application
     from cobbler.services import CobblerSvc
   File "/usr/lib/python2.7/site-packages/cobbler/services.py", line 28, in 
<module>
     import config
   File "/usr/lib/python2.7/site-packages/cobbler/config.py", line 47, in 
<module>
     import serializer
   File "/usr/lib/python2.7/site-packages/cobbler/serializer.py", line 30, in 
<module>
     import api as cobbler_api
   File "/usr/lib/python2.7/site-packages/cobbler/api.py", line 30, in <module>
     from cobbler import config
 ImportError: cannot import name config

The URL successfully loads when the imports are of the form:

        import clogger

Thanks,
Nish

_______________________________________________
cobbler-devel mailing list
cobbler-devel@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler-devel

Reply via email to