[sysadmin-bin] Single quote needed here



commit b394522e2456add6de97874eb4d82f91527cdd83
Author: Andrea Veri <averi redhat com>
Date:   Thu Feb 7 13:49:24 2019 +0100

    Single quote needed here

 deprecated_github_repos.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/deprecated_github_repos.py b/deprecated_github_repos.py
index 4faea17..ab9b9be 100755
--- a/deprecated_github_repos.py
+++ b/deprecated_github_repos.py
@@ -14,7 +14,7 @@ else:
     secure_config.read(cfg_file)
 
 if secure_config.has_option('github', 'oauth_token') and secure_config.has_option('gitlab', 'rw_token'):
-    gh_token = secure_config.get('github', "oauth_token')
+    gh_token = secure_config.get('github', 'oauth_token')
     gl_token = secure_config.get('gitlab', 'rw_token')
 else:
     print 'Make sure %s has a github/gitlab section and an oauth_token/rw_token key/value pair' % cfg_file


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]