- Timestamp:
- 13 Nov 2014, 14:40:27 (10 years ago)
- Location:
- main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba/widgets/phonewidget.py
r11254 r11949 26 26 from zope.formlib.textwidgets import ( 27 27 TextWidget, renderElement, ConversionError) 28 from waeup. kofa.interfaces import IKofaUtils29 from waeup. kofa.interfaces import MessageFactory as _30 from waeup. kofa.utils.utils import KofaUtils28 from waeup.ikoba.interfaces import IIkobaUtils 29 from waeup.ikoba.interfaces import MessageFactory as _ 30 from waeup.ikoba.utils.utils import IkobaUtils 31 31 32 32 RE_INT_PREFIX = re.compile('^\+\d+') … … 41 41 def _renderPrefixWidget(self, value): 42 42 prefix_func = getattr( 43 queryUtility(I KofaUtils), 'sorted_phone_prefixes',44 KofaUtils.sorted_phone_prefixes)43 queryUtility(IIkobaUtils), 'sorted_phone_prefixes', 44 IkobaUtils.sorted_phone_prefixes) 45 45 options = [] 46 46 for ptitle, pval in prefix_func(request=self.request):
Note: See TracChangeset for help on using the changeset viewer.