summaryrefslogtreecommitdiffstats
path: root/share/extensions/simplestyle.py
diff options
context:
space:
mode:
authorAaron Spike <aaron@ekips.org>2006-05-08 15:28:17 +0000
committeracspike <acspike@users.sourceforge.net>2006-05-08 15:28:17 +0000
commit5003d4122450f1ea8d75a5f77f96b829908a7dee (patch)
treebc478eb71aab76366fd036b788fa2fd4ae9be807 /share/extensions/simplestyle.py
parentMore snapping cleanups. (diff)
downloadinkscape-5003d4122450f1ea8d75a5f77f96b829908a7dee.tar.gz
inkscape-5003d4122450f1ea8d75a5f77f96b829908a7dee.zip
standardize indents on 4 spaces
Python hates mixed whitespace (bzr r770)
Diffstat (limited to 'share/extensions/simplestyle.py')
-rwxr-xr-xshare/extensions/simplestyle.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/share/extensions/simplestyle.py b/share/extensions/simplestyle.py
index 32fd987b7..22b4c3e8b 100755
--- a/share/extensions/simplestyle.py
+++ b/share/extensions/simplestyle.py
@@ -20,8 +20,8 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
"""
def parseStyle(s):
- """Create a dictionary from the value of an inline style attribute"""
- return dict([i.split(":") for i in s.split(";")])
+ """Create a dictionary from the value of an inline style attribute"""
+ return dict([i.split(":") for i in s.split(";")])
def formatStyle(a):
- """Format an inline style attribute from a dictionary"""
- return ";".join([":".join(i) for i in a.iteritems()])
+ """Format an inline style attribute from a dictionary"""
+ return ";".join([":".join(i) for i in a.iteritems()])