Skip to content

Commit

Permalink
Refactor BGL plugin
Browse files Browse the repository at this point in the history
Split into a package with 8 files
Fix bytes/str bugs (fix #54)
Fix CRC check bug (fix #55) by shipping and modifying gzip module:
    https://hg.python.org/cpython/file/3.5/Lib/gzip.py
Migrate to Reader class
Rename bytes and str variables to b_* and u_*
Fix logic and a lot of cleanings
  • Loading branch information
ilius committed Jun 9, 2016
1 parent 47e6c38 commit a1ddfdf
Show file tree
Hide file tree
Showing 12 changed files with 3,780 additions and 2,847 deletions.
3 changes: 3 additions & 0 deletions pyglossary/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ def setVerbosity(self, verbosity):
def pretty(self, data, header=''):
self.debug(header + pformat(data))

isDebug = lambda self: self._verbosity >= 4



sysName = platform.system()

Expand Down
Loading

0 comments on commit a1ddfdf

Please sign in to comment.