We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e80abb1 + a6ce379 commit 392ba8eCopy full SHA for 392ba8e
1 file changed
gen_partition.py
@@ -89,7 +89,7 @@ def disk_options(argv):
89
90
def partition_size_in_kb(size):
91
if not re.search('[a-zA-Z]+', size):
92
- return int(size)/1024
+ return int(size)//1024
93
if re.search('([0-9])*(?=([Kk]([Bb])*))', size):
94
return int(re.search('([0-9])*(?=([Kk]([Bb])*))', size).group(0))
95
if re.search('([0-9])*(?=([Mm]([Bb])*))', size):
0 commit comments