[Branch,~linaro-validation/lava-dispatcher/trunk] Rev 675: [Fathi Boudra] an offset is always an integer]

Message ID 20130909211825.3155.62833.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Antonio Terceiro Sept. 9, 2013, 9:18 p.m.
Merge authors:
  Fathi Boudra (fboudra)
Related merge proposals:
  https://code.launchpad.net/~fboudra/lava-dispatcher/fix-offset/+merge/184504
  proposed by: Fathi Boudra (fboudra)
------------------------------------------------------------
revno: 675 [merge]
committer: Antonio Terceiro <antonio.terceiro@linaro.org>
branch nick: trunk
timestamp: Mon 2013-09-09 18:11:40 -0300
message:
  [Fathi Boudra] an offset is always an integer]
modified:
  lava_dispatcher/client/lmc_utils.py


--
lp:lava-dispatcher
https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk

You are subscribed to branch lp:lava-dispatcher.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk/+edit-subscription

Patch

=== modified file 'lava_dispatcher/client/lmc_utils.py'
--- lava_dispatcher/client/lmc_utils.py	2013-07-18 14:01:21 +0000
+++ lava_dispatcher/client/lmc_utils.py	2013-09-09 04:48:29 +0000
@@ -82,7 +82,7 @@ 
         found = re.match(pattern, line)
         if found:
             return found.group(1)
-    return None
+    return 0
 
 
 @contextlib.contextmanager