summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Klinkovský <j.l.k@gmx.com>2020-09-04 23:06:43 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2021-02-20 17:25:21 +0100
commit92e315465b19e18b67ba7bff0b14c9658db579f9 (patch)
treed6440bd42ac2ffcb1a33f9c19548899d0630605b
parentdb75a5528e45c13a427813c177bf9657a1cb8350 (diff)
downloadaur-92e315465b19e18b67ba7bff0b14c9658db579f9.tar.gz
aur-92e315465b19e18b67ba7bff0b14c9658db579f9.tar.xz
gendummydata.py: remove unused database connection variables
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
-rwxr-xr-xschema/gendummydata.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/schema/gendummydata.py b/schema/gendummydata.py
index b3a73ef2..8b15ac69 100755
--- a/schema/gendummydata.py
+++ b/schema/gendummydata.py
@@ -18,10 +18,6 @@ import time
LOG_LEVEL = logging.DEBUG # logging level. set to logging.INFO to reduce output
SEED_FILE = "/usr/share/dict/words"
-DB_HOST = os.getenv("DB_HOST", "localhost")
-DB_NAME = os.getenv("DB_NAME", "AUR")
-DB_USER = os.getenv("DB_USER", "aur")
-DB_PASS = os.getenv("DB_PASS", "aur")
USER_ID = 5 # Users.ID of first bogus user
PKG_ID = 1 # Packages.ID of first package
MAX_USERS = 300 # how many users to 'register'