community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1864748 - /comdev/reporter.apache.org/trunk/scripts/pdata.py
Date Fri, 09 Aug 2019 04:07:02 GMT
Author: humbedooh
Date: Fri Aug  9 04:07:02 2019
New Revision: 1864748

URL: http://svn.apache.org/viewvc?rev=1864748&view=rev
Log:
decode before sending along..

Modified:
    comdev/reporter.apache.org/trunk/scripts/pdata.py

Modified: comdev/reporter.apache.org/trunk/scripts/pdata.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/scripts/pdata.py?rev=1864748&r1=1864747&r2=1864748&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/scripts/pdata.py (original)
+++ comdev/reporter.apache.org/trunk/scripts/pdata.py Fri Aug  9 04:07:02 2019
@@ -128,7 +128,7 @@ def getJIRAProjects(project, tlpid):
             x = readJson(RAOHOME+"data/JIRA/jira_projects.json")
         else:
             if sys.version_info >= (3, 0):
-                base64string = base64.encodestring(('%s:%s' % ('githubbot', jirapass)).encode('ascii'))[:-1]
+                base64string = base64.encodestring(('%s:%s' % ('githubbot', jirapass)).encode('ascii')).decode('ascii')[:-1]
             else:
                 base64string = base64.encodestring('%s:%s' % ('githubbot', jirapass))[:-1]
     



Mime
View raw message