Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
S
scom
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ç
SulinOS
scom
Commits
3d73eda5
Kaydet (Commit)
3d73eda5
authored
Haz 11, 2009
tarafından
Bahadır Kandemir
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Cancel method
üst
2c267c97
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
ChangeLog
api/ChangeLog
+3
-0
__init__.py
api/comar/__init__.py
+7
-0
No files found.
api/ChangeLog
Dosyayı görüntüle @
3d73eda5
2009-06-11 Bahadır Kandemir <bahadir@pardus.org.tr>
* api: Cancel method
2009-06-04 Bahadır Kandemir <bahadir@pardus.org.tr>
2009-06-04 Bahadır Kandemir <bahadir@pardus.org.tr>
* api: Use polkit-auth
* api: Use polkit-auth
...
...
api/comar/__init__.py
Dosyayı görüntüle @
3d73eda5
...
@@ -169,6 +169,13 @@ class Link:
...
@@ -169,6 +169,13 @@ class Link:
except
dbus
.
DBusException
,
exception
:
except
dbus
.
DBusException
,
exception
:
pass
pass
def
cancel
(
self
,
method
=
"*"
):
try
:
obj
=
self
.
bus
.
get_object
(
self
.
address
,
'/'
,
introspect
=
False
)
return
obj
.
cancel
(
method
,
dbus_interface
=
self
.
interface
)
except
dbus
.
DBusException
,
exception
:
return
0
def
listenSignals
(
self
,
model
,
handler
):
def
listenSignals
(
self
,
model
,
handler
):
def
sigHandler
(
*
args
,
**
kwargs
):
def
sigHandler
(
*
args
,
**
kwargs
):
if
"/package/"
not
in
kwargs
[
"path"
]:
if
"/package/"
not
in
kwargs
[
"path"
]:
...
...
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