diff options
author | Rob Austein <sra@hactrn.net> | 2009-08-19 23:18:09 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2009-08-19 23:18:09 +0000 |
commit | 73e071ba6eed1d9f595cb639b038f357cae7db82 (patch) | |
tree | 45a45eda66436b432cc8a71dd6431bd06469c645 /rpkid/rpki/xml_utils.py | |
parent | d870481707c8434b95be290e9dfbef05b06f43d2 (diff) |
Don't accidently convert handles to integers.
svn path=/rpkid/rpki/xml_utils.py; revision=2691
Diffstat (limited to 'rpkid/rpki/xml_utils.py')
-rw-r--r-- | rpkid/rpki/xml_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpkid/rpki/xml_utils.py b/rpkid/rpki/xml_utils.py index 20b40b16..fcf595ef 100644 --- a/rpkid/rpki/xml_utils.py +++ b/rpkid/rpki/xml_utils.py @@ -169,7 +169,7 @@ class base_elt(object): """ for key in self.attributes: val = attrs.get(key, None) - if isinstance(val, str) and val.isdigit(): + if isinstance(val, str) and val.isdigit() and not key.endswith("_handle"): val = long(val) setattr(self, key, val) for key in self.booleans: |