Changeset 13194


Ignore:
Timestamp:
9 Aug 2015, 22:48:32 (9 years ago)
Author:
uli
Message:

pep8.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/scripts.py

    r13193 r13194  
    5050    it for a new connection to the ZODB.
    5151    """
    52     # https://github.com/zopefoundation/ZODB/blob/master/src/ZODB/cross-database-references.txt
     52    # https://github.com/zopefoundation/ZODB/\
     53    #         blob/master/src/ZODB/cross-database-references.txt
    5354    databases = {}
    5455    root_dir = INSTANCE_HOME
     
    8889    studs = uni['students']
    8990
    90     parts= partition(studs)
     91    parts = partition(studs)
    9192    print(parts)
    9293
     
    162163    num = len(container)
    163164    print("Container elements: %s" % num)
    164     return [(idx, start, min(start + part_size - 1, num - 1))
    165              for idx, start in enumerate(range(0, num, part_size))]
     165    return [
     166        (idx, start, min(start + part_size - 1, num - 1))
     167        for idx, start in enumerate(range(0, num, part_size))]
Note: See TracChangeset for help on using the changeset viewer.