Commits

Ashutosh Singla committed 79dd0e5 Merge

Merged thomaswaldmann/moin-2.0 into default

Comments (0)

Files changed (5)

MoinMoin/config/default.py

             except (KeyError, ValueError):
                 raise error.ConfigurationError(
                     "You must set a (at least {0} chars long) secret string for secrets['{1}']!".format(
-                    secret_min_length, secret_key_name))
+                        secret_min_length, secret_key_name))
 
         from passlib.context import CryptContext
         try:
     )),
 
     'ns': ('Storage Namespaces',
-    "Storage namespaces can be defined for all sorts of data. All items sharing a common namespace as prefix" +
-    "are then stored within the same backend. The common prefix for all data is ''.",
-    (
+           "Storage namespaces can be defined for all sorts of data. "
+           "All items sharing a common namespace as prefix are then stored within the same backend. "
+           "The common prefix for all data is ''.", (
         ('content', '/', "All content is by default stored below /, hence the prefix is ''."),  # Not really necessary. Just for completeness.
         ('user_profile', 'UserProfile/', 'User profiles (i.e. user data, not their homepage) are stored in this namespace.'),
         ('user_homepage', 'User/', 'All user homepages are stored below this namespace.'),

MoinMoin/converter/_tests/test_docbook_in.py

                 '/page/body/div/list[@item-label-generate="ordered"][list-item[1]/list-item-body[text()="Ordered Item 1"]][list-item[2]/list-item-body[text()="Ordered Item 2"]]'),
             # ORDERED LIST with upperalpha numeration --> ordered list with upper-alpha list-style-type
             ('<article><orderedlist numeration="upperalpha"><listitem>Ordered Item 1</listitem><listitem>Ordered Item 2</listitem></orderedlist></article>',
-            # <page><body><div html:class="article"><list item-label-generage="ordered" list-style-type="upper-alpha"><list-item><list-item-body>Ordered Item 1</list-item-body></list-item><list-item><list-item-body>Ordered Item 2</list-item-body></list-item></list></div></body></page>
+             # <page><body><div html:class="article"><list item-label-generage="ordered" list-style-type="upper-alpha"><list-item><list-item-body>Ordered Item 1</list-item-body></list-item><list-item><list-item-body>Ordered Item 2</list-item-body></list-item></list></div></body></page>
                 '/page/body/div/list[@item-label-generate="ordered"][@list-style-type="upper-alpha"][list-item[1]/list-item-body[text()="Ordered Item 1"]][list-item[2]/list-item-body[text()="Ordered Item 2"]]'),
             # ORDERED LIST with loweralpha numeration --> ordered list with lower-alpha list-style-type
             ('<article><orderedlist numeration="loweralpha"><listitem>Ordered Item 1</listitem><listitem>Ordered Item 2</listitem></orderedlist></article>',

MoinMoin/converter/_tests/test_mediawiki_in.py

 |test
 |}
 """, u'<page><body><table style="border-width: 1px;"><table-body><table-row><table-cell number-columns-spanned="2" style="border-style: solid; border-width: 1px">Orange\nApple</table-cell></table-row><table-row><table-cell number-rows-spanned="2">Bread</table-cell><table-cell>Pie</table-cell></table-row><table-row><table-cell>test</table-cell></table-row></table-body></table></body></page>'),
-("""{|
+            ("""{|
 |class="test"|text||style="border:1px"|test
 |}
 """, u'<page><body><table><table-body><table-row><table-cell class="test">text</table-cell><table-cell style="border:1px">test</table-cell></table-row></table-body></table></body></page>'),

MoinMoin/items/__init__.py

File contents unchanged.
  *.py E125  # continuation line does not distinguish itself from next logical line (difficult to avoid!)
  *.py E501  # maximum line length (see also pep8maxlinelength)
  MoinMoin/config/default.py E501  # maximum line length (long lines expected there)
+ MoinMoin/config/default.py E122  # continuation line missing indentation or outdented
  MoinMoin/constants/chartypes.py E501  # auto-generated, long lines
  wikiconfig_*.py ALL  # local stuff, not in the repo
  MoinMoin/script/migration/moin19/_logfile19.py ALL  # legacy code "as is"