summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2011-08-23 14:29:05 +0300
committerAlon Levy <alevy@redhat.com>2011-08-23 14:29:05 +0300
commitecfc7f6751ba3fe29cb720a3c65da92adf82732a (patch)
tree1805b96087c5939f7cd908ff12ec8e92b6bba406
parent8220f2868e83582a84d00a6aa35973afaedb59b5 (diff)
do 50 iterations, then sleep a day+
-rwxr-xr-xmigrate.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/migrate.py b/migrate.py
index eb4636f..9cd9d99 100755
--- a/migrate.py
+++ b/migrate.py
@@ -264,8 +264,12 @@ def main():
usbtablet=(args.usbtablet=='on'),
secure=(args.secure=='on'), host_subject=host_subject)
atexit.register(cleanup, migrator)
- while True:
+ #while True:
+ for i in xrange(50):
migrator.iterate()
+ print "sleeping 20 seconds"
+ time.sleep(20)
+ time.sleep(100000)
if __name__ == '__main__':
main()