/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to push.py

  • Committer: Jelmer Vernooij
  • Date: 2007-07-15 15:05:06 UTC
  • Revision ID: jelmer@samba.org-20070715150506-1uemecr5kt7d4kvg
Fix whitespace, add comment.

Show diffs side-by-side

added added

removed removed

Lines of Context:
113
113
        m = _urlRE.match(url)
114
114
        if m:
115
115
            proto = m.groupdict()['proto']
116
 
            if (proto == 'sftp') or (proto == 'file') or (proto == 'ftp'):
117
 
                # have write acces (most probably)
 
116
            # FIXME: This should ask the transport or branch rather than 
 
117
            # guessing using regular expressions. JRV 20070714
 
118
            if proto in ('sftp', 'file', 'ftp'):
 
119
                # have write access (most probably)
118
120
                self._image_test.set_from_stock(gtk.STOCK_YES, 4)
119
121
                self._label_test.set_markup(_('<b>Write access is probably available</b>'))
120
122
            else: