Ran
|
Jobs
1
|
Files
8
|
Run time
2s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
<a href="https://github.com/RH-FMK/sktm/commit/<a class=hub.com/RH-FMK/sktm/commit/7e095134eeb7e79d2c8299074e6a306c5a2dcc1a">7e095134e<a href="https://github.com/RH-FMK/sktm/commit/7e095134eeb7e79d2c8299074e6a306c5a2dcc1a">">check_pending: Rename series > series_id In </a><a class="double-link" href="https://github.com/RH-FMK/sktm/commit/<a class="double-link" href="https://github.com/RH-FMK/sktm/commit/06b6ae590d6467742fe31cda8e007dea5698dda9">06b6ae590</a>">06b6ae590</a><a href="https://github.com/RH-FMK/sktm/commit/7e095134eeb7e79d2c8299074e6a306c5a2dcc1a">, `series` was renamed to `series_id`, which caused an exception in `sktm`: ``` Traceback (most recent call last): File "/home/skt/sktm/sktm.py", line 135, in <module> sw.wait_for_pending() File "/home/skt/sktm/sktm/__init__.py", line 367, in wait_for_pending self.check_pending() File "/home/skt/sktm/sktm/__init__.py", line 357, in check_pending self.db.commit_tested(patches, series_id) UnboundLocalError: local variable 'series_id' referenced before assignment ``` The `series = None` earlier in the method did not get changed to `series_id = None`, which caused the exception. Fixes #89. Signed-off-by: Major Hayden <major@redhat.com>
742 of 1289 relevant lines covered (57.56%)
0.58 hits per line
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 258.1 | 8 |
57.56 |
Travis Job 258.1 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|