- Timestamp:
- Aug 14, 2014 8:15:56 AM (10 years ago)
- Branches:
- master
- Children:
- f74e3a1
- Parents:
- b2a4214
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/deter/topdl.py
rb2a4214 ra183a42 7 7 from string import join 8 8 9 from fedid import fedid as fedid_class 9 try: 10 from fedid import fedid as fedid_class 11 except ImportError: 12 class fedid_class: 13 ''' 14 Dummy class to allow most of the topdl function when m2crypto and asn1 15 are not around 16 ''' 17 def __init__(self, hexstr=None): 18 if hexstr is not None: self.data = hexstr 19 else: self.data = "default data" 20 21 def get_bits(self): 22 return self.data 10 23 11 24 class base:
Note: See TracChangeset
for help on using the changeset viewer.