~ubuntu-branches/ubuntu/gutsy/serpentine/gutsy

« back to all changes in this revision

Viewing changes to serpentine/common.py

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-08-16 21:15:55 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20070816211555-t0h0nugk2kn1tb61
Tags: 0.9-0ubuntu1
* New upstream version
* debian/control:
  - updated XS-Python-Version value

Show diffs side-by-side

added added

removed removed

Lines of Context:
97
97
        return strings[1]
98
98
 
99
99
 
100
 
class SafeFileWrite:
 
100
class SafeFileWrite(object):
101
101
    """This class enables the user to safely write the contents to a file and
102
102
    if something wrong happens the original file will not be damaged. It writes
103
103
    the contents in a temporary file and when the file descriptor is closed the
145
145
    args.append(gdk.keyval_name(evt.keyval))
146
146
    return "+".join(args)
147
147
    
 
148
 
 
149
GCONF_DIR = "/apps/serpentine"
 
150
 
 
151
RAT_GCONF_DIR = "/apps/rat"
 
152
 
 
153
NCB_GCONF_DIR = "/apps/nautilus-cd-burner"
 
154
 
 
155
KEY_TEMP_ISO_DIR = NCB_GCONF_DIR + "/temp_iso_dir"