summary refs log tree commit diff stats
path: root/ranger/ext/iter_tools.py
diff options
context:
space:
mode:
Diffstat (limited to 'ranger/ext/iter_tools.py')
-rw-r--r--ranger/ext/iter_tools.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ranger/ext/iter_tools.py b/ranger/ext/iter_tools.py
index 838d8aff..70b74c39 100644
--- a/ranger/ext/iter_tools.py
+++ b/ranger/ext/iter_tools.py
@@ -1,6 +1,8 @@
 # This file is part of ranger, the console file manager.
 # License: GNU GPL version 3, see the file "AUTHORS" for details.
 
+from __future__ import (absolute_import, print_function)
+
 from collections import deque
 
 
@@ -42,6 +44,7 @@ def unique(iterable):
             already_seen.append(item)
     return type(iterable)(already_seen)
 
+
 if __name__ == '__main__':
     import doctest
     doctest.testmod()