Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
[scanner] Make it compatible with python 2.y
  • Loading branch information
boondocksaints-debug committed Jul 22, 2010
1 parent a01bb38 commit 7bcb292
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion giscanner/sourcescanner.py
Expand Up @@ -196,7 +196,7 @@ def line(self):
class SourceScanner(object):

def __init__(self):
with LibtoolImporter:
with LibtoolImporter(None, None):
from giscanner._giscanner import SourceScanner
self._scanner = SourceScanner()
self._filenames = []
Expand Down
2 changes: 1 addition & 1 deletion giscanner/xmlwriter.py
Expand Up @@ -67,7 +67,7 @@ def collect_attributes(tag_name, attributes, self_indent,
return attr_value


with LibtoolImporter:
with LibtoolImporter(None, None):
from giscanner._giscanner import collect_attributes


Expand Down

0 comments on commit 7bcb292

Please sign in to comment.