~ubuntu-branches/ubuntu/gutsy/reportbug/gutsy-proposed

« back to all changes in this revision

Viewing changes to checkversions.py

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2005-02-28 12:50:50 UTC
  • Revision ID: james.westby@ubuntu.com-20050228125050-ayvgdcc1bak3exlx
Tags: 3.5ubuntu5
* SECURITY UPDATE: Fix information disclosure.
* reportbug: Create user configuration file with 0600 permissions. Previous
  world-readability could expose smarthost logins and passwords.
  (Debian #295407, Ubuntu #6600)

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
##  ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
21
21
##  SOFTWARE.
22
22
#
23
 
# $Id: checkversions.py,v 1.2 2004/03/13 02:37:51 lawrencc Exp $
 
23
# $Id: checkversions.py,v 1.3 2004/09/30 09:20:46 lawrencc Exp $
24
24
#
25
25
# Version ##VERSION##; see changelog for revision history
26
26
 
39
39
        self.versions = {}
40
40
        self.savedata = None
41
41
        self.row = None
 
42
        arch = r'(?:all|'+re.escape(arch)+')'
42
43
        self.arch = arch
43
44
        self.dist = None
44
45