diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-04-11 17:03:55 -0700 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-07-02 15:41:33 +0100 |
commit | 1180bab54e2879401f3586c91a48174191a1ee8b (patch) | |
tree | a45aeee20eb5969cc1ac778fac47134929f4e021 /bitbake/lib/bb/ui/crumbs/buildmanager.py | |
parent | 5b216c8000dbc3ed9f3e996242eb24269fcaf919 (diff) | |
download | poky-1180bab54e2879401f3586c91a48174191a1ee8b.tar.gz |
Apply some 2to3 transforms that don't cause issues in 2.6
(Bitbake rev: d39ab776e7ceaefc8361150151cf0892dcb70d9c)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/buildmanager.py')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/buildmanager.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/buildmanager.py b/bitbake/lib/bb/ui/crumbs/buildmanager.py index 37a62f189f..b5a4dae0de 100644 --- a/bitbake/lib/bb/ui/crumbs/buildmanager.py +++ b/bitbake/lib/bb/ui/crumbs/buildmanager.py | |||
@@ -157,7 +157,7 @@ class BuildResult(gobject.GObject): | |||
157 | # format build-<year><month><day>-<ordinal> we can easily | 157 | # format build-<year><month><day>-<ordinal> we can easily |
158 | # pull it out. | 158 | # pull it out. |
159 | # TODO: Better to stat a file? | 159 | # TODO: Better to stat a file? |
160 | (_ , date, revision) = identifier.split ("-") | 160 | (_, date, revision) = identifier.split ("-") |
161 | print(date) | 161 | print(date) |
162 | 162 | ||
163 | year = int (date[0:4]) | 163 | year = int (date[0:4]) |
@@ -385,7 +385,7 @@ class BuildManager (gobject.GObject): | |||
385 | build_directory]) | 385 | build_directory]) |
386 | server.runCommand(["buildTargets", [conf.image], "rootfs"]) | 386 | server.runCommand(["buildTargets", [conf.image], "rootfs"]) |
387 | 387 | ||
388 | except Exception, e: | 388 | except Exception as e: |
389 | print(e) | 389 | print(e) |
390 | 390 | ||
391 | class BuildManagerTreeView (gtk.TreeView): | 391 | class BuildManagerTreeView (gtk.TreeView): |