summaryrefslogtreecommitdiffstats
path: root/linhes/linhes-dev/mp.py
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2022-12-02 17:22:13 (GMT)
committerBritney Fransen <brfransen@gmail.com>2022-12-02 17:22:13 (GMT)
commitbd5f885c30d322ab4e4ffd8d4ed1ab5bc0c5fead (patch)
tree87ee8da14d1d9f5e2c7ebabeda5592eaa3e06dee /linhes/linhes-dev/mp.py
parent73d57889d14ea1cc24e619d44902d50fd06c7f68 (diff)
downloadlinhes_pkgbuild-bd5f885c30d322ab4e4ffd8d4ed1ab5bc0c5fead.zip
linhes_pkgbuild-bd5f885c30d322ab4e4ffd8d4ed1ab5bc0c5fead.tar.gz
linhes_pkgbuild-bd5f885c30d322ab4e4ffd8d4ed1ab5bc0c5fead.tar.bz2
linhes-dev: lh_setup_dev.sh: change makepkg.conf on system and chroot
Diffstat (limited to 'linhes/linhes-dev/mp.py')
-rwxr-xr-xlinhes/linhes-dev/mp.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/linhes/linhes-dev/mp.py b/linhes/linhes-dev/mp.py
index 25f7cc0..f415b29 100755
--- a/linhes/linhes-dev/mp.py
+++ b/linhes/linhes-dev/mp.py
@@ -460,11 +460,11 @@ class Packagefile(object):
def formatTD(time):
# convert seconds to day, hour, minutes and seconds
- days = time // (24 * 3600)
+ days = int(time // (24 * 3600))
time = time % (24 * 3600)
- hours = time // 3600
+ hours = int(time // 3600)
time %= 3600
- minutes = time // 60
+ minutes = int(time // 60)
time %= 60
seconds = int(time)