community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1864814 - /comdev/reporter.apache.org/trunk/scripts/rapp/drafts.py
Date Fri, 09 Aug 2019 15:18:09 GMT
Author: humbedooh
Date: Fri Aug  9 15:18:08 2019
New Revision: 1864814

URL: http://svn.apache.org/viewvc?rev=1864814&view=rev
Log:
typo

Modified:
    comdev/reporter.apache.org/trunk/scripts/rapp/drafts.py

Modified: comdev/reporter.apache.org/trunk/scripts/rapp/drafts.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/scripts/rapp/drafts.py?rev=1864814&r1=1864813&r2=1864814&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/scripts/rapp/drafts.py (original)
+++ comdev/reporter.apache.org/trunk/scripts/rapp/drafts.py Fri Aug  9 15:18:08 2019
@@ -144,7 +144,7 @@ def forgotten(environ, user):
                 if has_access(user, rid) and applicables:
                     has_draft = True
                     last_report = open(os.path.join(DRAFTS_DIR, applicables[-1]), "r").read()
-                    ts = os.stat.getmtime(os.path.join(DRAFTS_DIR, applicables[-1]))
+                    ts = os.path.getmtime(os.path.join(DRAFTS_DIR, applicables[-1]))
                 lost[rid] = {
                     'filed': False,
                     'has_draft': has_draft,



Mime
View raw message