Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Kaarsemaker <dennis@kaarsemaker.net>2015-10-20 22:31:46 +0300
committerJunio C Hamano <gitster@pobox.com>2015-10-20 22:55:22 +0300
commit4b07cd230a1759c0e9a1e4cf2397bd238ceae96b (patch)
treef90eca5af3f05b0dc04fefe3d88f4bc98c1c36e5 /git-p4.py
parent4d25dc4475639395b4c567d947218613de359f09 (diff)
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>
Diffstat (limited to 'git-p4.py')
-rwxr-xr-xgit-p4.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-p4.py b/git-p4.py
index a60c086b18..ff4113a661 100755
--- a/git-p4.py
+++ b/git-p4.py
@@ -22,6 +22,7 @@ import platform
import re
import shutil
import stat
+import ctypes
try:
from subprocess import CalledProcessError