setlr 0.2.9__tar.gz → 0.2.10__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,10 @@
1
1
  #!/Users/jimmccusker/opt/ipython/bin/python
2
- # EASY-INSTALL-ENTRY-SCRIPT: 'setlr==0.2.9','console_scripts','setlr'
3
- __requires__ = 'setlr==0.2.9'
2
+ # EASY-INSTALL-ENTRY-SCRIPT: 'setlr==0.2.10','console_scripts','setlr'
3
+ __requires__ = 'setlr==0.2.10'
4
4
  import sys
5
5
  from pkg_resources import load_entry_point
6
6
 
7
7
  if __name__ == '__main__':
8
8
  sys.exit(
9
- load_entry_point('setlr==0.2.9', 'console_scripts', 'setlr')()
9
+ load_entry_point('setlr==0.2.10', 'console_scripts', 'setlr')()
10
10
  )
@@ -424,7 +424,8 @@ class FilterAutomata(object):
424
424
  # It's safe to call clear() here because no descendants will be
425
425
  # accessed
426
426
  ele.clear()
427
- ele.getparent().remove(ele)
427
+ if ele.getparent() is not None:
428
+ ele.getparent().remove(ele)
428
429
 
429
430
  # Also eliminate now-empty references from the root node to elem
430
431
  #for ancestor in ele.xpath('ancestor-or-self::*'):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: setlr
3
- Version: 0.2.9
3
+ Version: 0.2.10
4
4
  Summary: setlr is a tool for Semantic Extraction, Transformation, and Loading.
5
5
  Home-page: http://packages.python.org/setlr
6
6
  Author: Jim McCusker
@@ -0,0 +1 @@
1
+ {"is_release": false, "git_version": "a559233"}
@@ -1 +0,0 @@
1
- {"is_release": false, "git_version": "21e6cd8"}