mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 18:34:48 +00:00
Fix line length
This commit is contained in:
@@ -90,7 +90,8 @@ class Comparator:
|
|||||||
local_path,
|
local_path,
|
||||||
deployed_path,
|
deployed_path,
|
||||||
))
|
))
|
||||||
if (self.ignore_missing_in_dotdrop and not os.path.exists(local_path)) \
|
if (self.ignore_missing_in_dotdrop and not
|
||||||
|
os.path.exists(local_path)) \
|
||||||
or must_ignore([local_path, deployed_path], ignore,
|
or must_ignore([local_path, deployed_path], ignore,
|
||||||
debug=self.debug):
|
debug=self.debug):
|
||||||
if self.debug:
|
if self.debug:
|
||||||
@@ -110,7 +111,8 @@ class Comparator:
|
|||||||
))
|
))
|
||||||
if not os.path.exists(deployed_path):
|
if not os.path.exists(deployed_path):
|
||||||
return ''
|
return ''
|
||||||
if (self.ignore_missing_in_dotdrop and not os.path.exists(local_path)) \
|
if (self.ignore_missing_in_dotdrop and not
|
||||||
|
os.path.exists(local_path)) \
|
||||||
or must_ignore([local_path, deployed_path], ignore,
|
or must_ignore([local_path, deployed_path], ignore,
|
||||||
debug=self.debug):
|
debug=self.debug):
|
||||||
if self.debug:
|
if self.debug:
|
||||||
|
|||||||
@@ -247,7 +247,10 @@ class Updater:
|
|||||||
return False
|
return False
|
||||||
try:
|
try:
|
||||||
if self.dry:
|
if self.dry:
|
||||||
self.log.dry('would cp {} {}'.format(deployed_path, local_path))
|
self.log.dry('would cp {} {}'.format(
|
||||||
|
deployed_path,
|
||||||
|
local_path,
|
||||||
|
))
|
||||||
else:
|
else:
|
||||||
if self.debug:
|
if self.debug:
|
||||||
self.log.dbg('cp {} {}'.format(deployed_path, local_path))
|
self.log.dbg('cp {} {}'.format(deployed_path, local_path))
|
||||||
|
|||||||
Reference in New Issue
Block a user