Ignore:
Timestamp:
26/01/16 22:46:27 (4 years ago)
Author:
mjuckes
Message:

added filename to dummy record

File:
1 edited

Legend:

Unmodified
Added
Removed
  • hdldemo/trunk/hdldemo.py

    r562 r563  
    9494        else: 
    9595          self.__dict__[r['type']] = r['data']['value'] 
     96 
     97    if 'URL' in self.__dict__: 
     98      fn = string.split( self.__dict__['URL'], '/' )[-1] 
     99      self.__dict__['filename'] = fn 
    96100 
    97101  def getSiblings(self): 
Note: See TracChangeset for help on using the changeset viewer.