mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 07:20:29 +03:00
More logging switching
This commit is contained in:
parent
1b743e8b74
commit
1e3c2eee25
5 changed files with 32 additions and 27 deletions
|
|
@ -19,6 +19,7 @@
|
|||
|
||||
from optparse import OptionParser
|
||||
import re
|
||||
import logging
|
||||
import common, metadata
|
||||
|
||||
config = None
|
||||
|
|
@ -31,7 +32,7 @@ def warn(message):
|
|||
if appid:
|
||||
print "%s:" % appid
|
||||
appid = None
|
||||
print(' %s' % message)
|
||||
print ' %s' % message
|
||||
|
||||
def main():
|
||||
|
||||
|
|
@ -136,7 +137,7 @@ def main():
|
|||
if not appid:
|
||||
print
|
||||
|
||||
print "Finished."
|
||||
logging.info("Finished.")
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue