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)
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
inary
Commits
feb6620c
Kaydet (Commit)
feb6620c
authored
Haz 07, 2006
tarafından
Eray Özkural
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
* fix: id strings in graphviz can't have any punctuation chars it seems
üst
76772423
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
graph.py
pisi/graph.py
+8
-2
pgraph.py
pisi/pgraph.py
+3
-1
No files found.
pisi/graph.py
Dosyayı görüntüle @
feb6620c
...
...
@@ -13,6 +13,8 @@
import
sys
import
string
import
pisi
import
gettext
...
...
@@ -143,8 +145,12 @@ class Digraph(object):
return
list
def
id_str
(
self
,
u
):
s
=
str
(
u
)
return
s
.
replace
(
'-'
,
'_'
)
def
repl
(
char
):
if
char
in
string
.
punctuation
:
return
'_'
else
:
return
char
return
pisi
.
util
.
concat
(
map
(
repl
,
str
(
u
)))
def
write_graphviz
(
self
,
f
):
f
.
write
(
'digraph G {
\n
'
)
...
...
pisi/pgraph.py
Dosyayı görüntüle @
feb6620c
...
...
@@ -10,7 +10,9 @@
# Please read the COPYING file.
#
# PISI package relation graph that represents the state of packagedb
"""PISI package relation graph that represents the state of packagedb"""
import
string
from
graph
import
*
...
...
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