[PEP8] Repoman #181

Closed
wants to merge 5 commits into
from

Conversation

Projects
None yet
1 participant

No description provided.

@elacheche elacheche closed this Jul 26, 2017

@elacheche elacheche reopened this Jul 26, 2017

@elacheche elacheche closed this Jul 26, 2017

@elacheche elacheche reopened this Jul 26, 2017

I was reading my build logs, when I did the PR (#180) against the master branch it was OK, when I did it against the repoman branch (this PR) there was an import issue (I didn't touched that! and same changes in both PRs).. What can be the issue :/

master & repoman branchs uses the same travis.yml why it can import when building against master, but not when building against repoman.. I only fixed 4 PEP8 issues in 1 file.. So, it can't be that I fu**ed up the source code!

testSimple (repoman.tests.simple.test_simple.SimpleRepomanTestCase) ... Traceback (most recent call last):
File "/home/travis/build/gentoo/portage/repoman/bin/repoman", line 41, in
from repoman.main import repoman_main
File "/home/travis/build/gentoo/portage/repoman/pym/repoman/main.py", line 31, in
from repoman.qa_data import QAData
File "/home/travis/build/gentoo/portage/repoman/pym/repoman/qa_data.py", line 5, in
import yaml
ImportError: No module named yaml
FAIL
FAIL: testSimple (repoman.tests.simple.test_simple.SimpleRepomanTestCase)
Traceback (most recent call last):
File "/home/travis/build/gentoo/portage/repoman/pym/repoman/tests/init.py", line 223, in run
testMethod()
File "/home/travis/build/gentoo/portage/repoman/pym/repoman/tests/simple/test_simple.py", line 303, in testSimple
"repoman failed in %s" % (cwd,))
AssertionError: repoman failed in
Ran 10 tests in 0.533s
FAILED (failures=1)
Traceback (most recent call last):
File "repoman/setup.py", line 487, in
'Topic :: System :: Installation/Setup'
File "/opt/python/2.7.13/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/opt/python/2.7.13/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/opt/python/2.7.13/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "repoman/setup.py", line 414, in run
os.path.join(self.build_lib, 'repoman/tests/runTests.py')
File "/opt/python/2.7.13/lib/python2.7/subprocess.py", line 186, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/home/travis/virtualenv/python2.7.13/bin/python', '-bWd', 'build/lib/repoman/tests/runTests.py']' returned non-zero exit status 1
The command "repoman/setup.py test" exited with 1.

@elacheche elacheche closed this Jul 26, 2017

@elacheche elacheche referenced this pull request Jul 30, 2017

Closed

PEP8 checks #180

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment