Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Van Assche <nubae@big-nubae.local.lan>2009-09-07 01:25:44 (GMT)
committer David Van Assche <nubae@big-nubae.local.lan>2009-09-07 01:25:44 (GMT)
commitb98d1caf2af9a08f6904126feaf89f4f6728bf3f (patch)
treea63e56f63a865937a83ef4902970b33bb302792c
parent47755104e347af2c8920e365c47cdcc7b5e99a40 (diff)
fixed indents
-rw-r--r--pyclic.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/pyclic.py b/pyclic.py
index 8906982..0786824 100644
--- a/pyclic.py
+++ b/pyclic.py
@@ -35,8 +35,8 @@ FILE_EXT = "pcx"
class PyClicAdmin:
-# function to open xml file, though parsing of file happens in xml_load_from_file() function.
- def on_file_open(self, widget):
+ #function to open xml file, though parsing of file happens in xml_load_from_file() function.
+ def on_file_open(self, widget):
# use file_browse function to open file
xml_file = self.pcc.file_browse(gtk.FILE_CHOOSER_ACTION_OPEN)
# Check to see if we have a xml_file
@@ -45,8 +45,8 @@ class PyClicAdmin:
"""Allright it all worked! save the current file and
set the title."""
self.xml_file = xml_file
- #set window title to the name of loaded quiz
- self.pcc.set_window_title_from_file(self.xml_file,self.window)
+ # set window title to the name of loaded quiz
+ self.pcc.set_window_title_from_file(self.xml_file,self.window)
#Another in between file in the process of opening xml, basically this checks to see its really an xml document
#and can be parsed by minidom, if not it will fail and tell user why. If successful sends it through to
@@ -217,7 +217,7 @@ class PyClicAdmin:
else:
print "Tag not loaded, probably empty"
question_loaded = True
- create empty self.coordinate list to place coordinates into
+ #create empty self.coordinate list to place coordinates into
self.coordinate=[]
# Look for coordinates tag
if (item_node.nodeName == PyClicCommon._xml_tags[COORDINATES_TAG]):