Commit 2a0fa4cf authored by Gaute Hope's avatar Gaute Hope

misc cleanup

svn path=/trunk/; revision=1133
parent c4d7e076
......@@ -251,7 +251,6 @@ fi
def write_job_data (self, job_id, title, desc, output, display):
# Create and write data file
f = os.path.join (self.atdata, str(job_id))
#print f
fh = open (f, 'w')
fh.truncate (1)
fh.seek (0)
......@@ -273,10 +272,6 @@ fi
os.chmod (f, 0600)
def checkfield (self, runat):
#TODO: fix bug $0:19 2004-12-8$ not valid by regexp
# print "$" + runat + "$"
#regexp1 = re.compile("([0-9][0-9]):([0-9][0-9])\ ([0-9][0-9])\.([0-9][0-9])\.([0-9][0-9][0-9][0-9])")
#print "Testing: " + runat
regexp1 = re.compile ("([0-9][0-9])([0-9][0-9])\ ([0-9][0-9])\.([0-9][0-9])\.([0-9][0-9][0-9][0-9])")
regexp2 = re.compile("([0-9][0-9])([0-9][0-9])")
regexp3 = re.compile("([0-9][0-9])\.([0-9][0-9])\.([0-9][0-9][0-9][0-9])")
......
......@@ -176,7 +176,6 @@ class TemplateManager:
self.widget.hide ()
def on_cancel_clicked (self, *args):
print "cancelled"
self.widget.hide ()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment