summaryrefslogtreecommitdiff
path: root/rq/dummy.py
diff options
context:
space:
mode:
authorVincent Driessen <vincent@3rdcloud.com>2014-05-05 10:49:29 +0200
committerVincent Driessen <vincent@3rdcloud.com>2014-05-05 10:50:02 +0200
commit38ec259b6e436d7868af8e99d55305340d5375ce (patch)
tree0bd75642ba20a2f5717d282545a00c2adb6e928b /rq/dummy.py
parent4746602c57ebe258ede3bfef517d6719a59cb24b (diff)
downloadrq-38ec259b6e436d7868af8e99d55305340d5375ce.tar.gz
Enable the most modern Python syntax.
Diffstat (limited to 'rq/dummy.py')
-rw-r--r--rq/dummy.py6
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():