mirror of
https://github.com/oskar456/dzonegit.git
synced 2024-05-11 05:55:41 +00:00
Refactor tests, get rid of hand-crafted test repositories
This commit is contained in:
@ -109,7 +109,10 @@ def get_altered_files(against, diff_filter=None):
|
||||
encoding="utf-8",
|
||||
check=True
|
||||
)
|
||||
return (Path(p) for p in r.stdout.rstrip("\0").split("\0"))
|
||||
if r.stdout:
|
||||
return (Path(p) for p in r.stdout.rstrip("\0").split("\0"))
|
||||
else:
|
||||
return list()
|
||||
|
||||
|
||||
def get_zone_origin(zonedata):
|
||||
|
Reference in New Issue
Block a user