Commits

psviderski  committed 2601f62

Fix wrong indentation.

  • Participants
  • Parent commits f77870d

Comments (0)

Files changed (1)

File MoinMoin/items/__init__.py

         meta_form = BlogEntryMetaForm
         meta_template = 'modify_blog_entry_meta.html'
 
-    @classmethod
-    def from_item(cls, item):
-        form = super(BlogEntry._ModifyForm, cls).from_item(item)
-        # preload PTIME with the current datetime
-        if not form['meta_form']['ptime']:
-            form['meta_form']['ptime'].set(datetime.utcnow())
-        return form
+        @classmethod
+        def from_item(cls, item):
+            form = super(BlogEntry._ModifyForm, cls).from_item(item)
+            # preload PTIME with the current datetime
+            if not form['meta_form']['ptime']:
+                form['meta_form']['ptime'].set(datetime.utcnow())
+            return form
 
     def do_show(self, revid):
         blog_item_name = self.name.rsplit('/', 1)[0]