Skip to content

Commit

Permalink
MIN Remove future division import
Browse files Browse the repository at this point in the history
  • Loading branch information
luispedro committed May 7, 2013
1 parent 70e3793 commit f95a381
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions jug/addtemplate.py
Expand Up @@ -19,9 +19,9 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

from __future__ import division

from __future__ import division



from glob import glob
template_start= file('../template.py').readlines()
Expand Down
2 changes: 1 addition & 1 deletion jug/backends/__init__.py
Expand Up @@ -20,6 +20,6 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

from __future__ import division

from .select import select
from .memoize_store import memoize_store
2 changes: 1 addition & 1 deletion jug/backends/file_store.py
Expand Up @@ -23,7 +23,7 @@
'''
file_store : file-system based data store & locks.
'''
from __future__ import division


import os
from os import path, mkdir, fdopen
Expand Down
2 changes: 1 addition & 1 deletion jug/backends/memoize_store.py
Expand Up @@ -23,7 +23,7 @@
'''
memoize_store: a wrapper that never repeats a lookup.
'''
from __future__ import division


class memoize_store(object):
def __init__(self, base, list_base=False):
Expand Down
2 changes: 1 addition & 1 deletion jug/backends/redis_store.py
Expand Up @@ -23,7 +23,7 @@
'''
redis_store: store based on a redis backend
'''
from __future__ import division


import re
import logging
Expand Down
2 changes: 1 addition & 1 deletion jug/backends/select.py
Expand Up @@ -20,7 +20,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

from __future__ import division

from . import redis_store
from . import file_store
from .dict_store import dict_store
Expand Down
2 changes: 1 addition & 1 deletion jug/compound.py
Expand Up @@ -20,7 +20,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

from __future__ import division

from .task import Task

def compound_task_execute(x, h):
Expand Down
2 changes: 1 addition & 1 deletion jug/jug.py
Expand Up @@ -21,7 +21,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

from __future__ import division

from collections import defaultdict
import sys
import os
Expand Down
4 changes: 2 additions & 2 deletions jug/mapreduce.py
Expand Up @@ -7,8 +7,8 @@
mapreduce: Build tasks that follow a map-reduce pattern.
'''

from __future__ import division
from jug import Task

from .jug import Task
from .utils import identity
from .hash import hash_one

Expand Down
2 changes: 1 addition & 1 deletion jug/options.py
Expand Up @@ -32,7 +32,7 @@
- argv: Arguments not captured by jug (for script use)
- print_out: Print function to be used for output (behaves like Python3's print)
'''
from __future__ import division

import logging
from datetime import datetime
import string
Expand Down
2 changes: 1 addition & 1 deletion jug/subcommands/shell.py
@@ -1,6 +1,6 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Copyright (C) 2008-2010, Luis Pedro Coelho <luis@luispedro.org>
# Copyright (C) 2008-2013, Luis Pedro Coelho <luis@luispedro.org>
# vim: set ts=4 sts=4 sw=4 expandtab smartindent:
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
2 changes: 1 addition & 1 deletion jug/task.py
Expand Up @@ -13,7 +13,7 @@
- Rely on the ``TaskGenerator`` decorator as a shortcut for this.
'''

from __future__ import division

from .hash import new_hash_object, hash_update, hash_one

__all__ = [
Expand Down
2 changes: 1 addition & 1 deletion jug/utils.py
Expand Up @@ -20,7 +20,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

from __future__ import division

import os

from .task import Task, Tasklet, TaskGenerator, value
Expand Down

0 comments on commit f95a381

Please sign in to comment.