Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Anders Blomdell
hash_backup
Commits
c6051d36
Commit
c6051d36
authored
Nov 08, 2016
by
Anders Blomdell
Browse files
Avoid star error messsage when no changed files
parent
ebfecd55
Changes
1
Hide whitespace changes
Inline
Side-by-side
secondary.py
View file @
c6051d36
...
...
@@ -57,6 +57,8 @@ class Backup:
cwd
=
os
.
path
.
join
(
mount
,
path
),
stdin
=
self
.
primary_out
)
atexit
.
register
(
cond_kill
,
self
.
extract
)
# Make sure that the generated star archive is not empty
self
.
primary_in
.
write
(
b
'.
\n
'
)
def
close
(
self
):
self
.
primary_in
.
flush
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment