Shinji Suzuki
|
80c5a47381
|
Refactored distro() function with two alterations.
* file availability based checks are performed before keyword based checks.
* Next file will be tried if I/O error is raised.
|
2018-04-07 12:16:32 +09:00 |
|
Shinji Suzuki
|
ffa7c4a03d
|
Move back the check for centos-live to stay above the check for fedora.
More unittests on distro detection using unittest.TestCase.
|
2018-04-07 08:10:27 +09:00 |
|
Shinji Suzuki
|
13fd72fad4
|
Avoid logging unbounded amount of info.
Replace code sequence with data definition.
|
2018-04-05 20:16:30 +09:00 |
|
Shinji Suzuki
|
b7c99c138e
|
Add unit test.
|
2018-04-04 06:02:55 +09:00 |
|