Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
I
inary
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)
1
Konular (issue)
1
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ç
SulinOS
inary
Commits
b080e80a
Kaydet (Commit)
b080e80a
authored
Nis 03, 2021
tarafından
Your Name
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
xml parse error is vital
üst
3dedc15e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
emerge.py
inary/operations/emerge.py
+0
-1
autoxml.py
inary/sxml/autoxml.py
+2
-5
No files found.
inary/operations/emerge.py
Dosyayı görüntüle @
b080e80a
...
@@ -157,7 +157,6 @@ def plan_emerge(A):
...
@@ -157,7 +157,6 @@ def plan_emerge(A):
order_build
=
G_f
.
topological_sort
()
order_build
=
G_f
.
topological_sort
()
order_build
.
reverse
()
order_build
.
reverse
()
order_inst
=
inary
.
operations
.
install
.
plan_install_pkg_names
(
install_list
)
order_inst
=
inary
.
operations
.
install
.
plan_install_pkg_names
(
install_list
)
return
order_inst
,
order_build
return
order_inst
,
order_build
inary/sxml/autoxml.py
Dosyayı görüntüle @
b080e80a
...
@@ -712,8 +712,7 @@ class autoxml(oo.autosuper, oo.autoprop):
...
@@ -712,8 +712,7 @@ class autoxml(oo.autosuper, oo.autoprop):
return
value
return
value
else
:
else
:
if
req
==
mandatory
:
if
req
==
mandatory
:
errs
.
append
(
raise
Exception
(
_
(
'Mandatory token {} not available.'
)
.
format
(
token
)
+
"
\n
{}"
.
format
(
where
))
where
+
': '
+
_
(
'Mandatory token {} not available.'
)
.
format
(
token
))
return
None
return
None
def
encode
(
node
,
value
,
errs
):
def
encode
(
node
,
value
,
errs
):
...
@@ -722,9 +721,7 @@ class autoxml(oo.autosuper, oo.autoprop):
...
@@ -722,9 +721,7 @@ class autoxml(oo.autosuper, oo.autoprop):
writetext
(
node
,
token
,
str
(
value
))
writetext
(
node
,
token
,
str
(
value
))
else
:
else
:
if
req
==
mandatory
:
if
req
==
mandatory
:
errs
.
append
(
raise
Exception
(
_
(
'Mandatory token {} not available.'
)
.
format
(
token
)
+
"
\n
{}"
.
format
(
value
))
_
(
'Mandatory token {} not available.'
)
.
format
(
token
))
def
errors
(
value
,
where
):
def
errors
(
value
,
where
):
errs
=
[]
errs
=
[]
if
value
and
not
isinstance
(
value
,
token_type
):
if
value
and
not
isinstance
(
value
,
token_type
):
...
...
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