diff options
| author | LorDClockaN <lordclockan@gmail.com> | 2017-12-10 22:25:49 -0500 |
|---|---|---|
| committer | mosimchah <mosimchah@gmail.com> | 2017-12-10 22:29:11 -0500 |
| commit | d30cbdaf04db741cbc417bbc728acb9ec912843e (patch) | |
| tree | b1d7d83edf55625d01c25335783b65384ed982b1 /tests.py | |
| parent | bd3476d64561b107bfa53d7d3753c93efe3246fd (diff) | |
Fix repo upload command with python >=3.0 compatibilityo8.1-backup
Change-Id: I327594481e41373d174d1c3baa5815b95c83a933
Diffstat (limited to 'tests.py')
| -rwxr-xr-x | tests.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -18,7 +18,10 @@ """Tests the Checkstyle script used to run style checks on Java files.""" -from StringIO import StringIO +try: + from StringIO import StringIO +except ImportError: + from io import StringIO import unittest import checkstyle |
