equal
deleted
inserted
replaced
1056 raise VMMError(_("Invalid address type for list: '%s'") % which, |
1056 raise VMMError(_("Invalid address type for list: '%s'") % which, |
1057 INVALID_ARGUMENT) |
1057 INVALID_ARGUMENT) |
1058 if addresses: |
1058 if addresses: |
1059 if which & (which - 1) == 0: |
1059 if which & (which - 1) == 0: |
1060 # only one type is requested, so no type indicator |
1060 # only one type is requested, so no type indicator |
1061 _trans = { TYPE_ACCOUNT : _('') |
1061 _trans = { TYPE_ACCOUNT : '' |
1062 , TYPE_ALIAS : _('') |
1062 , TYPE_ALIAS : '' |
1063 , TYPE_RELOCATED : _('') |
1063 , TYPE_RELOCATED : '' |
1064 } |
1064 } |
1065 else: |
1065 else: |
1066 _trans = { TYPE_ACCOUNT : _('u') |
1066 _trans = { TYPE_ACCOUNT : _('u') |
1067 , TYPE_ALIAS : _('a') |
1067 , TYPE_ALIAS : _('a') |
1068 , TYPE_RELOCATED : _('r') |
1068 , TYPE_RELOCATED : _('r') |