diff options
| author | Antoine Musso <hashar@free.fr> | 2014-11-16 22:37:15 +0100 |
|---|---|---|
| committer | Antoine Musso <hashar@free.fr> | 2014-11-16 22:37:15 +0100 |
| commit | 1cd3760be374521a7fafe2262e58c1703b71b9aa (patch) | |
| tree | 8e4337a2e13f44f5f2194329c268aa0ea9c26d39 | |
| parent | 01dac15d2d2ad916083559747c3df497921cdec9 (diff) | |
| download | smmap-1cd3760be374521a7fafe2262e58c1703b71b9aa.tar.gz | |
Drop semicolon at end of statement
Fix pep8: E703 statement ends with a semicolon
| -rw-r--r-- | smmap/util.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/smmap/util.py b/smmap/util.py index 137c19d..394e6b1 100644 --- a/smmap/util.py +++ b/smmap/util.py @@ -42,11 +42,11 @@ def align_to_mmap(num, round_up): :param round_up: if True, the next higher multiple of page size is used, otherwise the lower page_size will be used (i.e. if True, 1 becomes 4096, otherwise it becomes 0) :return: num rounded to closest page""" - res = (num // ALLOCATIONGRANULARITY) * ALLOCATIONGRANULARITY; + res = (num // ALLOCATIONGRANULARITY) * ALLOCATIONGRANULARITY if round_up and (res != num): res += ALLOCATIONGRANULARITY #END handle size - return res; + return res def is_64_bit(): |
