diff options
author | Dennis Kaarsemaker <dennis@kaarsemaker.net> | 2015-10-20 21:31:46 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-10-20 12:55:22 -0700 |
commit | 4b07cd230a1759c0e9a1e4cf2397bd238ceae96b (patch) | |
tree | f90eca5af3f05b0dc04fefe3d88f4bc98c1c36e5 | |
parent | git-p4: check free space during streaming (diff) | |
download | tgif-4b07cd230a1759c0e9a1e4cf2397bd238ceae96b.tar.xz |
git-p4: import the ctypes module
The ctypes module is used on windows to calculate free disk space,
so it must be imported. We won't need it on other platforms, but
the module is available in Python 2.5 and newer, so importing it
unconditionally is harmless.
Signed-off-by: Dennis Kaarsemaker <dennis@kaarsemaker.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-x | git-p4.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -22,6 +22,7 @@ import platform import re import shutil import stat +import ctypes try: from subprocess import CalledProcessError |