Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita10ceef

Browse files
Harmon758Byron
authored andcommitted
Remove and replace compat.MAXSIZE
1 parentcedd332 commita10ceef

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

‎git/compat.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414

1515
fromgitdb.utils.compatimport (
16-
MAXSIZE,# @UnusedImport
1716
izip,# @UnusedImport
1817
)
1918
fromgitdb.utils.encodingimport (

‎git/util.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
importre
1414
importshutil
1515
importstat
16+
fromsysimportmaxsize
1617
importtime
1718
fromunittestimportSkipTest
1819

@@ -31,10 +32,7 @@
3132
fromgit.compatimportis_win
3233
importos.pathasosp
3334

34-
from .compatimport (
35-
MAXSIZE,
36-
defenc
37-
)
35+
from .compatimportdefenc
3836
from .excimportInvalidGitRepositoryError
3937

4038

@@ -783,7 +781,7 @@ class BlockingLockFile(LockFile):
783781
can never be obtained."""
784782
__slots__= ("_check_interval","_max_block_time")
785783

786-
def__init__(self,file_path,check_interval_s=0.3,max_block_time_s=MAXSIZE):
784+
def__init__(self,file_path,check_interval_s=0.3,max_block_time_s=maxsize):
787785
"""Configure the instance
788786
789787
:param check_interval_s:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp