]> git.ipfire.org Git - thirdparty/git.git/commit - git-p4.py
git-p4: import the ctypes module
authorDennis Kaarsemaker <dennis@kaarsemaker.net>
Tue, 20 Oct 2015 19:31:46 +0000 (21:31 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 20 Oct 2015 19:55:22 +0000 (12:55 -0700)
commit4b07cd230a1759c0e9a1e4cf2397bd238ceae96b
treef90eca5af3f05b0dc04fefe3d88f4bc98c1c36e5
parent4d25dc4475639395b4c567d947218613de359f09
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>
git-p4.py