mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03:00
Don't import fdroid twice, allow -h without config
This commit is contained in:
parent
5d36f41c3f
commit
5b6647af30
1 changed files with 1 additions and 3 deletions
4
fdroid
4
fdroid
|
@ -18,7 +18,6 @@
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import fdroidserver
|
|
||||||
|
|
||||||
commands = [
|
commands = [
|
||||||
"build",
|
"build",
|
||||||
|
@ -45,8 +44,7 @@ def main():
|
||||||
|
|
||||||
command = sys.argv[1]
|
command = sys.argv[1]
|
||||||
if not command in commands:
|
if not command in commands:
|
||||||
print "Command '" + command + "' not recognised."
|
print "Command '" + command + "' not recognised.\n"
|
||||||
print ""
|
|
||||||
print_help()
|
print_help()
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue