Browse Source

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>
maint
Dennis Kaarsemaker 9 years ago committed by Junio C Hamano
parent
commit
4b07cd230a
  1. 1
      git-p4.py

1
git-p4.py

@ -22,6 +22,7 @@ import platform @@ -22,6 +22,7 @@ import platform
import re
import shutil
import stat
import ctypes

try:
from subprocess import CalledProcessError

Loading…
Cancel
Save