Skip to content

Commit 4b07cd2

Browse files
seveasgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 4d25dc4 commit 4b07cd2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

git-p4.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
import re
2323
import shutil
2424
import stat
25+
import ctypes
2526

2627
try:
2728
from subprocess import CalledProcessError

0 commit comments

Comments
 (0)