Properly use logging.warn in some places

This commit is contained in:
Daniel Martí 2014-03-18 08:22:36 +01:00
parent 5d6baedbc9
commit 945d8b126f
2 changed files with 3 additions and 3 deletions

View file

@ -243,9 +243,9 @@ def main():
logging.info("Couldn't find package ID")
sys.exit(1)
if not version:
logging.info("WARNING: Couldn't find latest version name")
logging.warn("Couldn't find latest version name")
if not vercode:
logging.info("WARNING: Couldn't find latest version code")
logging.warn("Couldn't find latest version code")
else:
spec = os.path.join(root_dir, 'buildozer.spec')
if os.path.exists(spec):