Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/pms-test-suite:master commit in: PMSTestSuite/
Date: Tue, 31 May 2011 19:20:23
Message-Id: 6577ec98750852c393d2c9dba91f986c703f6d0b.mgorny@gentoo
1 commit: 6577ec98750852c393d2c9dba91f986c703f6d0b
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 31 19:18:41 2011 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue May 31 19:18:41 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/pms-test-suite.git;a=commit;h=6577ec98
7
8 Fix running with no --pm-options.
9
10 ---
11 PMSTestSuite/cli.py | 2 +-
12 1 files changed, 1 insertions(+), 1 deletions(-)
13
14 diff --git a/PMSTestSuite/cli.py b/PMSTestSuite/cli.py
15 index 713b1a0..7db4713 100644
16 --- a/PMSTestSuite/cli.py
17 +++ b/PMSTestSuite/cli.py
18 @@ -73,7 +73,7 @@ class PMSTestSuiteCLI(object):
19 break
20 else:
21 opt.error('Package manager not supported: %s' % opts.pm)
22 - self.pm.pm_options = shlex.split(opts.pmopts)
23 + self.pm.pm_options = shlex.split(opts.pmopts) if opts.pmopts else []
24
25 try:
26 self.repository = EbuildRepository(opts.repo_path)