summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Musso <hashar@free.fr>2014-11-16 22:37:15 +0100
committerAntoine Musso <hashar@free.fr>2014-11-16 22:37:15 +0100
commit1cd3760be374521a7fafe2262e58c1703b71b9aa (patch)
tree8e4337a2e13f44f5f2194329c268aa0ea9c26d39
parent01dac15d2d2ad916083559747c3df497921cdec9 (diff)
downloadsmmap-1cd3760be374521a7fafe2262e58c1703b71b9aa.tar.gz
Drop semicolon at end of statement
Fix pep8: E703 statement ends with a semicolon
-rw-r--r--smmap/util.py4
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():