mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-14 23:12:46 +03:00
Resolved some unpleasant global-scope usage and related issues
This commit is contained in:
parent
ee268c64ec
commit
e920a3ca58
7 changed files with 24 additions and 41 deletions
4
stats.py
4
stats.py
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# updatestats.py - part of the FDroid server tools
|
||||
# stats.py - part of the FDroid server tools
|
||||
# Copyright (C) 2010-12, Ciaran Gultnieks, ciaran@ciarang.com
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
|
@ -33,7 +33,7 @@ import common
|
|||
def main():
|
||||
|
||||
# Read configuration...
|
||||
execfile('config.py')
|
||||
execfile('config.py', globals())
|
||||
|
||||
# Parse command line...
|
||||
parser = OptionParser()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue