chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
802d5e2
)
improved warning when trying to init a dir with stuff in it
author
Hans-Christoph Steiner
<hans@eds.org>
Tue, 1 Apr 2014 18:56:11 +0000
(14:56 -0400)
committer
Hans-Christoph Steiner
<hans@eds.org>
Tue, 1 Apr 2014 21:51:54 +0000
(17:51 -0400)
fdroidserver/init.py
patch
|
blob
|
history
diff --git
a/fdroidserver/init.py
b/fdroidserver/init.py
index 666cfaef592f8571ee14f34d20f1457005fb9cbd..d6804c354050e776196841f13a009f21578bd228 100644
(file)
--- a/
fdroidserver/init.py
+++ b/
fdroidserver/init.py
@@
-112,7
+112,8
@@
def main():
shutil.copyfile(os.path.join(examplesdir, 'config.py'), 'config.py')
os.chmod('config.py', 0o0600)
else:
- logging.info('Looks like this is already an F-Droid repo, cowardly refusing to overwrite it...')
+ logging.warn('Looks like this is already an F-Droid repo, cowardly refusing to overwrite it...')
+ logging.info('Try running `fdroid init` in an empty directory.')
sys.exit()
# now that we have a local config.py, read configuration...