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

Collapse All | Expand All

(-)modules/univention/admin/syntax.py (-1 / +3 lines)
 Lines 195-201    Link Here 
195
		self.description=description
195
		self.description=description
196
196
197
		if self.filter == '' or self.description == '':
197
		if self.filter == '' or self.description == '':
198
			mymodule = __import__( 'univention/admin/handlers/%s' % type)
198
			name = type.replace( os.path.sep, '.' )
199
			module_name = 'univention.admin.handlers.%s' % name 
200
			mymodule = __import__(  module_name )
199
			if self.filter == '' and hasattr(mymodule,'syntax_filter'):
201
			if self.filter == '' and hasattr(mymodule,'syntax_filter'):
200
				self.filter=mymodule.syntax_filter
202
				self.filter=mymodule.syntax_filter
201
			if self.description == '':
203
			if self.description == '':

Return to bug 22439