"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/Resource_Files/plugin_launchers/python/wrapper.py" between
Sigil-1.4.1.tar.gz and Sigil-1.4.2.tar.gz

About: Sigil is a multi-platform EPUB ebook editor that supports both WYSIWYG and code-based editing of EPUB files, as well as the import of HTML and plain text files.

wrapper.py  (Sigil-1.4.1):wrapper.py  (Sigil-1.4.2)
skipping to change at line 52 skipping to change at line 52
return p return p
return p.encode('utf-8', errors='replace') return p.encode('utf-8', errors='replace')
def _unicodestr(p): def _unicodestr(p):
if p is None: if p is None:
return None return None
if isinstance(p, str): if isinstance(p, str):
return p return p
return p.decode('utf-8', errors='replace') return p.decode('utf-8', errors='replace')
_launcher_version = 20201028 _launcher_version = 20201117
_PKG_VER = re.compile(r'''<\s*package[^>]*version\s*=\s*["']([^'"]*)['"][^>]*>'' ', re.IGNORECASE) _PKG_VER = re.compile(r'''<\s*package[^>]*version\s*=\s*["']([^'"]*)['"][^>]*>'' ', re.IGNORECASE)
# Wrapper Class is used to peform record keeping for Sigil. It keeps track of m odified, # Wrapper Class is used to peform record keeping for Sigil. It keeps track of m odified,
# added, and deleted files while providing some degree of protection against fil es under # added, and deleted files while providing some degree of protection against fil es under
# Sigil's control from being directly manipulated. # Sigil's control from being directly manipulated.
# Uses "write-on-modify" and so removes the need for wholesale copying of files # Uses "write-on-modify" and so removes the need for wholesale copying of files
_guide_types = ['cover', 'title-page', 'toc', 'index', 'glossary', 'acknowledgem ents', _guide_types = ['cover', 'title-page', 'toc', 'index', 'glossary', 'acknowledgem ents',
'bibliography', 'colophon', 'copyright-page', 'dedication', 'bibliography', 'colophon', 'copyright-page', 'dedication',
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)