Import some fixes from resolver branch.
This commit is contained in:
parent
a411b4dc38
commit
95f5bc2a4c
8 changed files with 93 additions and 21 deletions
|
@ -61,13 +61,11 @@ def changes_filename(package, version, arch):
|
|||
|
||||
def get_build_architecture():
|
||||
try:
|
||||
return (
|
||||
subprocess.check_output(["dpkg-architecture", "-qDEB_BUILD_ARCH"])
|
||||
.strip()
|
||||
.decode()
|
||||
)
|
||||
return subprocess.check_output(
|
||||
['dpkg-architecture', '-qDEB_BUILD_ARCH']).strip().decode()
|
||||
except subprocess.CalledProcessError as e:
|
||||
raise Exception("Could not find the build architecture: %s" % e)
|
||||
raise Exception(
|
||||
"Could not find the build architecture: %s" % e)
|
||||
|
||||
|
||||
def add_dummy_changelog_entry(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue