Commits

Rafael Martins committed 6e9884d

style changes

Comments (0)

Files changed (1)

blohg/mercurial_content.py

         # If we still don't want a refresh, it seems that we have an app.hg
         # object, then we need to check if it's new enough
         if not refresh:
-            # using the head of default branch revision, as we're not debugging, and just
-            # want the committed stuff.
-            if repo[repo.branchtags()["default"]].rev() != app.hg.repo[app.hg.repo.branchtags()["default"]].rev():
+            # using the head of default branch revision, as we're not
+            # debugging, and just want the committed stuff.
+            if repo[repo.branchtags()['default']].rev() \
+               != app.hg.repo[app.hg.repo.branchtags()['default']].rev():
                 refresh = True
 
         revision_id = None
         if not app.debug:
-            revision_id = repo.branchtags()["default"]
+            revision_id = repo.branchtags()['default']
 
         if g is not None:
             g.repo = repo[revision_id]