View | Details | Raw Unified | Return to bug 22439 | Differences between
and this patch

Collapse All | Expand All

(-)modules/univention/admin/modules.py (-1 / +3 lines)
 Lines 58-64    Link Here 
58
			p=os.path.join(dir, file).replace(root, '').replace('.py', '')
58
			p=os.path.join(dir, file).replace(root, '').replace('.py', '')
59
			p=p[1:]
59
			p=p[1:]
60
			univention.debug.debug(univention.debug.ADMIN, univention.debug.INFO, 'admin.modules.update: importing "%s"' % p)
60
			univention.debug.debug(univention.debug.ADMIN, univention.debug.INFO, 'admin.modules.update: importing "%s"' % p)
61
			m=__import__(p)
61
			parts = p.split( os.path.sep )
62
			mod, name = '.'.join( parts ), parts[-1:]
63
			mod = __import__( mod, globals(), locals(), name )
62
			m.initialized=0
64
			m.initialized=0
63
			modules[m.module]=m
65
			modules[m.module]=m
64
			if isContainer(m):
66
			if isContainer(m):

Return to bug 22439