incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From john...@apache.org
Subject [27/42] git commit: [#6534] ticket:460 Add microsecond to deleted page's title
Date Tue, 29 Oct 2013 22:23:28 GMT
[#6534] ticket:460 Add microsecond to deleted page's title


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/baf4d8cb
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/baf4d8cb
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/baf4d8cb

Branch: refs/heads/cj/6692
Commit: baf4d8cb1a05cf6d8abfb20ea420e56bc97ef546
Parents: 2f6021d
Author: Igor Bondarenko <jetmind2@gmail.com>
Authored: Mon Oct 21 17:05:57 2013 +0300
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Fri Oct 25 22:07:32 2013 +0000

----------------------------------------------------------------------
 ForgeWiki/forgewiki/model/wiki.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/baf4d8cb/ForgeWiki/forgewiki/model/wiki.py
----------------------------------------------------------------------
diff --git a/ForgeWiki/forgewiki/model/wiki.py b/ForgeWiki/forgewiki/model/wiki.py
index 23adb8c..cfcaac5 100644
--- a/ForgeWiki/forgewiki/model/wiki.py
+++ b/ForgeWiki/forgewiki/model/wiki.py
@@ -221,7 +221,7 @@ class Page(VersionedArtifact, ActivityObject):
     def delete(self):
         Shortlink.query.remove(dict(ref_id=self.index_id()))
         self.deleted = True
-        suffix = " {dt.hour}:{dt.minute}:{dt.second} {dt.day}-{dt.month}-{dt.year}".format(dt=datetime.utcnow())
+        suffix = " {dt.hour}:{dt.minute}:{dt.second}.{dt.microsecond} {dt.day}-{dt.month}-{dt.year}".format(dt=datetime.utcnow())
         self.title += suffix
 
 class WikiAttachment(BaseAttachment):


Mime
View raw message