Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
D
django
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
django
Commits
11a4b6d9
Kaydet (Commit)
11a4b6d9
authored
Eki 22, 2012
tarafından
Aymeric Augustin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge pull request #460 from JanBednarik/ticket_19162
Fixed #19162 -- Wrong indentation.
üst
6a64822b
4cceb5cb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
creation.py
django/db/backends/sqlite3/creation.py
+5
-5
No files found.
django/db/backends/sqlite3/creation.py
Dosyayı görüntüle @
11a4b6d9
...
...
@@ -56,11 +56,11 @@ class DatabaseCreation(BaseDatabaseCreation):
if
not
autoclobber
:
confirm
=
input
(
"Type 'yes' if you would like to try deleting the test database '
%
s', or 'no' to cancel: "
%
test_database_name
)
if
autoclobber
or
confirm
==
'yes'
:
try
:
os
.
remove
(
test_database_name
)
except
Exception
as
e
:
sys
.
stderr
.
write
(
"Got an error deleting the old test database:
%
s
\n
"
%
e
)
sys
.
exit
(
2
)
try
:
os
.
remove
(
test_database_name
)
except
Exception
as
e
:
sys
.
stderr
.
write
(
"Got an error deleting the old test database:
%
s
\n
"
%
e
)
sys
.
exit
(
2
)
else
:
print
(
"Tests cancelled."
)
sys
.
exit
(
1
)
...
...
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