mirror of
https://github.com/bndr/pipreqs.git
synced 2025-06-07 12:05:33 +00:00
Add colon to error output for consistency
This commit is contained in:
parent
888537a898
commit
1055a7a28b
@ -230,7 +230,7 @@ def parse_requirements(file_):
|
|||||||
with open(file_, "r") as f:
|
with open(file_, "r") as f:
|
||||||
data = [x.strip() for x in f.readlines() if x != "\n"]
|
data = [x.strip() for x in f.readlines() if x != "\n"]
|
||||||
except OSError:
|
except OSError:
|
||||||
logging.error("Failed on file {}".format(file_))
|
logging.error("Failed on file: {}".format(file_))
|
||||||
raise
|
raise
|
||||||
|
|
||||||
parameters = [x for x in data if x.startswith("-")]
|
parameters = [x for x in data if x.startswith("-")]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user