Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
982209dc
Kaydet (Commit)
982209dc
authored
Ara 31, 1997
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix bug detected by AMK: Types should be types.
üst
16c8eccf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
pyversioncheck.py
Tools/versioncheck/pyversioncheck.py
+2
-2
No files found.
Tools/versioncheck/pyversioncheck.py
Dosyayı görüntüle @
982209dc
"""pyversioncheck - Module to help with checking versions"""
import
T
ypes
import
t
ypes
import
rfc822
import
urllib
import
sys
...
...
@@ -36,7 +36,7 @@ def versioncheck(package, url, version, verbose=0):
def
checkonly
(
package
,
url
,
version
,
verbose
=
0
):
if
verbose
>=
VERBOSE_EACHFILE
:
print
'
%
s:'
%
package
if
type
(
url
)
==
T
ypes
.
StringType
:
if
type
(
url
)
==
t
ypes
.
StringType
:
ok
,
newversion
,
fp
=
_check1version
(
package
,
url
,
version
,
verbose
)
else
:
for
u
in
url
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment