changeset 1706:a31498666626

text_gedit: minor refactoring
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sat, 06 Jan 2007 17:32:20 +0100
parents 66b17318081d
children dd2bdae20379
files MoinMoin/formatter/text_gedit.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/formatter/text_gedit.py	Sat Jan 06 15:50:32 2007 +0100
+++ b/MoinMoin/formatter/text_gedit.py	Sat Jan 06 17:32:20 2007 +0100
@@ -112,9 +112,9 @@
                     key, value = arg.split('=')
                     if key == 'width':
                         width = value
-                    if key == 'height':
+                    elif key == 'height':
                         height = value
-                    if key == 'alt':
+                    elif key == 'alt':
                         alt = value
             target = None
             if argc >= 2 and args[1]: