diff options
author | Vincent Driessen <vincent@3rdcloud.com> | 2014-05-05 10:49:29 +0200 |
---|---|---|
committer | Vincent Driessen <vincent@3rdcloud.com> | 2014-05-05 10:50:02 +0200 |
commit | 38ec259b6e436d7868af8e99d55305340d5375ce (patch) | |
tree | 0bd75642ba20a2f5717d282545a00c2adb6e928b /rq/dummy.py | |
parent | 4746602c57ebe258ede3bfef517d6719a59cb24b (diff) | |
download | rq-38ec259b6e436d7868af8e99d55305340d5375ce.tar.gz |
Enable the most modern Python syntax.
Diffstat (limited to 'rq/dummy.py')
-rw-r--r-- | rq/dummy.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/rq/dummy.py b/rq/dummy.py index ee9022b..cdd1afc 100644 --- a/rq/dummy.py +++ b/rq/dummy.py @@ -1,8 +1,12 @@ +# -*- coding: utf-8 -*- """ Some dummy tasks that are well-suited for generating load for testing purposes. """ -import time +from __future__ import (absolute_import, division, print_function, + unicode_literals) + import random +import time def do_nothing(): |