changeset 1001:ed7febba892b

whitespace-only cleanup and minor style changes
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 22 Jul 2006 12:56:48 +0200
parents 6f6fcbe200b5
children e9cea1db2676
files MoinMoin/macro/EditedSystemPages.py MoinMoin/macro/Include.py MoinMoin/macro/MonthCalendar.py MoinMoin/macro/__init__.py
diffstat 4 files changed, 18 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/macro/EditedSystemPages.py	Sat Jul 22 12:47:55 2006 +0200
+++ b/MoinMoin/macro/EditedSystemPages.py	Sat Jul 22 12:56:48 2006 +0200
@@ -44,7 +44,7 @@
             result.append(f.pagelink(0, name))
             result.append(f.listitem(0))
         result.append(f.number_list(0))
- 
+
         return ''.join(result)
 
 
--- a/MoinMoin/macro/Include.py	Sat Jul 22 12:47:55 2006 +0200
+++ b/MoinMoin/macro/Include.py	Sat Jul 22 12:56:48 2006 +0200
@@ -45,7 +45,7 @@
         h = title.strip()
         level = 1
         while h[level:level+1] == '=': level = level+1
-        depth = min(5,level)
+        depth = min(5, level)
         title_text = h[level:-level].strip()
         titles.append((title_text, level))
     return titles
@@ -177,7 +177,7 @@
 
         if not hasattr(request, "_Include_backto"):
             request._Include_backto = this_page.page_name
-        
+
         # do headings
         level = None
         if args.group('heading') and args.group('hquote'):
--- a/MoinMoin/macro/MonthCalendar.py	Sat Jul 22 12:47:55 2006 +0200
+++ b/MoinMoin/macro/MonthCalendar.py	Sat Jul 22 12:56:48 2006 +0200
@@ -240,7 +240,7 @@
 _arg_anniversary = r',\s*(?P<anniversary>[+-]?\d+)?\s*'
 _arg_template = r',\s*(?P<template>[^, ]+)?\s*' # XXX see basepage comment
 _args_re_pattern = r'^(%s)?(%s)?(%s)?(%s)?(%s)?(%s)?(%s)?(%s)?$' % \
-                     (_arg_basepage, _arg_year, _arg_month, \
+                     (_arg_basepage, _arg_year, _arg_month,
                       _arg_offset, _arg_offset2, _arg_height6, _arg_anniversary, _arg_template)
 
 
--- a/MoinMoin/macro/__init__.py	Sat Jul 22 12:47:55 2006 +0200
+++ b/MoinMoin/macro/__init__.py	Sat Jul 22 12:56:48 2006 +0200
@@ -66,20 +66,20 @@
     defaultDependency = ["time"]
 
     Dependencies = {
-        "TitleSearch" : ["namespace"],
-        "Goto"        : [],
-        "WordIndex"   : ["namespace"],
-        "TitleIndex"  : ["namespace"],
-        "InterWiki"   : ["pages"],  # if interwikimap is editable
-        "PageCount"   : ["namespace"],
-        "Icon"        : ["user"], # users have different themes and user prefs
-        "PageList"    : ["namespace"],
-        "Date"        : ["time"],
-        "DateTime"    : ["time"],
-        "UserPreferences" :["time"],
-        "Anchor"      : [],
-        "Mailto"      : ["user"],
-        "GetVal"      : ["pages"],
+        "TitleSearch": ["namespace"],
+        "Goto": [],
+        "WordIndex": ["namespace"],
+        "TitleIndex": ["namespace"],
+        "InterWiki": ["pages"],  # if interwikimap is editable
+        "PageCount": ["namespace"],
+        "Icon": ["user"], # users have different themes and user prefs
+        "PageList": ["namespace"],
+        "Date": ["time"],
+        "DateTime": ["time"],
+        "UserPreferences": ["time"],
+        "Anchor": [],
+        "Mailto": ["user"],
+        "GetVal": ["pages"],
         "TemplateList": ["namespace"],
         }