dabo Commit
Revision 3207
Date: 2007-06-22 16:26:23 -0700 (Fri, 22 Jun 2007)
Author: Dj
Trac: http://svn.dabodev.com/trac/dabo/changeset/3207

Changed:
U   dj/dabo/ui/uiwx/dDateTextBox.py

Log:
Indent fix (Still forgetting to use tabs instead of spaces sometimes)

Diff:
Modified: dj/dabo/ui/uiwx/dDateTextBox.py
===================================================================
--- dj/dabo/ui/uiwx/dDateTextBox.py     2007-06-22 23:18:04 UTC (rev 3206)
+++ dj/dabo/ui/uiwx/dDateTextBox.py     2007-06-22 23:26:23 UTC (rev 3207)
@@ -465,16 +465,16 @@
                                passed = False
 
                        if not passed:
-                       try:
-                               (dt, tm) = val.split()
-                               (hr, mn, sec) = tm.split(":")
-                               hr = int(hr)
-                               mn = int(mn)
-                               sec = int(round(float(sec), 0) )
-                               isDateTime = True
-                       except:
-                               dt = val
-                               (hr, mn, sec) = (0, 0, 0)
+                               try:
+                                       (dt, tm) = val.split()
+                                       (hr, mn, sec) = tm.split(":")
+                                       hr = int(hr)
+                                       mn = int(mn)
+                                       sec = int(round(float(sec), 0) )
+                                       isDateTime = True
+                               except:
+                                       dt = val
+                                       (hr, mn, sec) = (0, 0, 0)
 
                        try:
                                sep = [c for c in dt if not c.isdigit()][0]




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/dabo-dev/[EMAIL PROTECTED]

Reply via email to