* src/DisplayTrace.py (__init__): Mark debian distros.
svn: r4177
This commit is contained in:
parent
f2f3d1530c
commit
4b817d717e
@ -12,6 +12,8 @@
|
||||
|
||||
* src/EventEdit.py (get_place): Typo.
|
||||
|
||||
* src/DisplayTrace.py (__init__): Mark debian distros.
|
||||
|
||||
2005-03-12 Martin Hawlisch <Martin.Hawlisch@gmx.de>
|
||||
* src/GenericFilter.py (Rule,GenericFilter): New methods prepare() and
|
||||
reset(), that are called before/after a filter is applied, to properly
|
||||
|
@ -80,6 +80,8 @@ class DisplayTrace:
|
||||
msg.write("GRAMPS : %s\n" % const.version)
|
||||
if os.environ.has_key('LANG'):
|
||||
msg.write("LANG : %s\n" % os.environ['LANG'])
|
||||
if os.environ.has_key('LANGUAGE'):
|
||||
msg.write("LANGUAGE : %s\n" % os.environ['LANGUAGE'])
|
||||
msg.write("Python : %s.%s.%s %s\n" % (ver[0],ver[1],ver[2],ver[3]))
|
||||
msg.write("GTK : %s.%s.%s\n" % gtk.gtk_version)
|
||||
msg.write('PyGTK : %d.%d.%d\n' % gtk.pygtk_version)
|
||||
@ -88,6 +90,8 @@ class DisplayTrace:
|
||||
try:
|
||||
f = open(n)
|
||||
text = f.readline()
|
||||
if n.find('debian') != -1:
|
||||
text = "Debian %s" % text
|
||||
msg.write("OS : %s\n" % text)
|
||||
f.close()
|
||||
break
|
||||
|
Loading…
Reference in New Issue
Block a user