Skip to content

Commit

Permalink
Little fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneBachmann committed Apr 19, 2018
1 parent ce6dcdb commit fc41f16
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion sos/sos.coco
Original file line number Diff line number Diff line change
Expand Up @@ -966,7 +966,7 @@ def dump(argument:str, options:str[] = []):
if not delta or relpath.endswith(metaFile) or relpath not in entries: # always update metadata, otherwise only add new revision files
if show: printo("\r" + pure.ljust("Dumping %s @%.2f MiB/s %s" % (show, totalsize / (MEBI * (time.time() - start_time)), filename)), nl = "")
_zip.write(abspath, relpath) # write entry into archive
if delta: _zip.comment = encode(UTF8) <| ("Delta dump from %r" % strftime())
if delta: _zip.comment = ("Delta dump from %r" % strftime()).encode(UTF8)
info("\r" + pure.ljust(usage.MARKER + "Finished dumping %s repository @%.2f MiB/s." % ("differential" if delta else "entire", totalsize / (MEBI * (time.time() - start_time))))) # clean line

def publish(message:str?, cmd:str, options:str[] = [], onlys:FrozenSet[str]? = None, excps:FrozenSet[str]? = None):
Expand Down
4 changes: 2 additions & 2 deletions sos/sos.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# __coconut_hash__ = 0x5def651f
# __coconut_hash__ = 0x85d7bef8

# Compiled with Coconut version 1.3.1-post_dev28 [Dead Parrot]

Expand Down Expand Up @@ -1166,7 +1166,7 @@ def dump(argument: 'str', options: '_coconut.typing.Sequence[str]'=[]): # line
printo("\r" + pure.ljust("Dumping %s @%.2f MiB/s %s" % (show, totalsize / (MEBI * (time.time() - start_time)), filename)), nl="") # line 967
_zip.write(abspath, relpath) # write entry into archive # line 968
if delta: # line 969
_zip.comment = (encode(UTF8))(("Delta dump from %r" % strftime())) # line 969
_zip.comment = ("Delta dump from %r" % strftime()).encode(UTF8) # line 969
info("\r" + pure.ljust(usage.MARKER + "Finished dumping %s repository @%.2f MiB/s." % ("differential" if delta else "entire", totalsize / (MEBI * (time.time() - start_time))))) # clean line # line 970

def publish(message: '_coconut.typing.Optional[str]', cmd: 'str', options: '_coconut.typing.Sequence[str]'=[], onlys: '_coconut.typing.Optional[FrozenSet[str]]'=None, excps: '_coconut.typing.Optional[FrozenSet[str]]'=None): # line 972
Expand Down
4 changes: 2 additions & 2 deletions sos/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version_info__ = (2018, 1418, 1744)
__version__ = r'2018.1418.1744-v1.5.0-45-gb321df8'
__version_info__ = (2018, 1419, 3131)
__version__ = r'2018.1419.3131-v1.5.0-46-gce6dcdb'
__release_version__ = '1.5.3'

0 comments on commit fc41f16

Please sign in to comment.