fix typos

This commit is contained in:
Hans-Christoph Steiner 2018-07-12 23:43:19 +02:00
parent db5ed26517
commit 68fb3d2bd9
2 changed files with 3 additions and 3 deletions

View file

@ -1146,7 +1146,7 @@ def main():
if not os.path.isdir(binaries_dir): if not os.path.isdir(binaries_dir):
os.makedirs(binaries_dir) os.makedirs(binaries_dir)
logging.info("Created directory for storing " logging.info("Created directory for storing "
"devleoper supplied reference " "developer supplied reference "
"binaries: '{path}'" "binaries: '{path}'"
.format(path=binaries_dir)) .format(path=binaries_dir))
url = app.Binaries url = app.Binaries

View file

@ -82,7 +82,7 @@ def read_fingerprints_from_keystore():
'-storepass:env', 'FDROID_KEY_STORE_PASS'], '-storepass:env', 'FDROID_KEY_STORE_PASS'],
envs=env_vars, output=False) envs=env_vars, output=False)
if p.returncode != 0: if p.returncode != 0:
raise FDroidException('could not read keysotre {}'.format(config['keystore'])) raise FDroidException('could not read keystore {}'.format(config['keystore']))
realias = re.compile('Alias name: (?P<alias>.+)\n') realias = re.compile('Alias name: (?P<alias>.+)\n')
resha256 = re.compile(r'\s+SHA256: (?P<sha256>[:0-9A-F]{95})\n') resha256 = re.compile(r'\s+SHA256: (?P<sha256>[:0-9A-F]{95})\n')
@ -249,7 +249,7 @@ def main():
logging.error("...verification failed - publish skipped : " logging.error("...verification failed - publish skipped : "
"{result}".format(result=compare_result)) "{result}".format(result=compare_result))
os.remove(srcapk) os.remove(srcapk)
logging.debug('remvoed developer supplied reference binary: {path}' logging.debug('removed developer supplied reference binary: {path}'
.format(path=srcapk)) .format(path=srcapk))
else: else:
# Success! So move the downloaded file to the repo, and remove # Success! So move the downloaded file to the repo, and remove