Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
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ç
LibreOffice
core
Commits
eaa97f9a
Kaydet (Commit)
eaa97f9a
authored
Nis 18, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
continue in the face of adversary
üst
fc435133
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
get-bugzilla-attachments-by-mimetype
bin/get-bugzilla-attachments-by-mimetype
+5
-1
No files found.
bin/get-bugzilla-attachments-by-mimetype
Dosyayı görüntüle @
eaa97f9a
...
@@ -159,7 +159,11 @@ def get_through_rss_query_url(url, mimetype, prefix, suffix):
...
@@ -159,7 +159,11 @@ def get_through_rss_query_url(url, mimetype, prefix, suffix):
get_bug_function
=
get_novell_bug_via_xml
if
prefix
==
"novell"
else
get_from_bug_url_via_xml
get_bug_function
=
get_novell_bug_via_xml
if
prefix
==
"novell"
else
get_from_bug_url_via_xml
for
entry
in
d
[
'entries'
]:
for
entry
in
d
[
'entries'
]:
get_bug_function
(
entry
[
'id'
],
mimetype
,
prefix
,
suffix
)
try
:
get_bug_function
(
entry
[
'id'
],
mimetype
,
prefix
,
suffix
)
except
:
print
>>
sys
.
stderr
,
entry
[
'id'
],
"failed:"
,
sys
.
exc_info
()[
0
]
pass
def
get_through_rss_query
(
queryurl
,
mimetype
,
prefix
,
suffix
):
def
get_through_rss_query
(
queryurl
,
mimetype
,
prefix
,
suffix
):
url
=
queryurl
+
'?query_format=advanced&field0-0-0=attachments.mimetype&type0-0-0=equals&value0-0-0='
+
escape
(
mimetype
)
+
'&ctype=rss'
url
=
queryurl
+
'?query_format=advanced&field0-0-0=attachments.mimetype&type0-0-0=equals&value0-0-0='
+
escape
(
mimetype
)
+
'&ctype=rss'
...
...
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