Skip to content

Commit

Permalink
Fix PEP-8 complaints
Browse files Browse the repository at this point in the history
  • Loading branch information
bwarden committed Apr 18, 2019
1 parent 6da6a4e commit 75d3d90
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions autospec/tarball.py
Original file line number Diff line number Diff line change
Expand Up @@ -511,11 +511,12 @@ def prepare_and_extract(extract_cmd):


def write_makefile(name, url, archives):
"""Write the package makefile."""
makefile_path = os.path.join(build.download_path, "Makefile")
if not os.path.exists(makefile_path):
write_out(makefile_path,
"PKG_NAME := %s\nURL = %s\nARCHIVES = %s\n\ninclude ../common/Makefile.common\n"
% (name, url, ' '.join(archives)))
"PKG_NAME := %s\nURL = %s\nARCHIVES = %s\n\ninclude ../common/Makefile.common\n"
% (name, url, ' '.join(archives)))


def process_archives(archives):
Expand Down

0 comments on commit 75d3d90

Please sign in to comment.