fix NameError in update
Change-Id: I4b36374fec26d223adadb1f3d543852fcbd55539
diff --git a/update_gerrit_users.py b/update_gerrit_users.py
index fdb14aa..ab49956 100644
--- a/update_gerrit_users.py
+++ b/update_gerrit_users.py
@@ -47,7 +47,7 @@
GERRIT_USER = options.user
GERRIT_CONFIG = '/home/gerrit2/review_site/etc/gerrit.config'
GERRIT_SECURE_CONFIG = '/home/gerrit2/review_site/etc/secure.config'
-GERRIT_SSH_KEY = "/home/gerrit2/.ssh/{0}".format(key)
+GERRIT_SSH_KEY = "/home/gerrit2/.ssh/{0}".format(options.key)
GERRIT_CACHE_DIR = os.path.expanduser('~/.launchpadlib/cache')
GERRIT_CREDENTIALS = os.path.expanduser('~/.launchpadlib/creds')
GERRIT_BACKUP_PATH = '/home/gerrit2/dbupdates'