Skip to content

Commit

Permalink
Remove trailing whitespace
Browse files Browse the repository at this point in the history
Fixes pylint warnings: trailing-whitespace
  • Loading branch information
dreamer committed Oct 15, 2018
1 parent 465eb1f commit 7951867
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions protonfixes/gamefixes/409720.py
Expand Up @@ -11,9 +11,9 @@ def main():

log('Applying fixes for BioShock 2 Remastered')

# After loading the game, or a save file, a key needs to be pressed
# to continue. That screen does not respond to keyboard or mouse,
# so there is no way to continue. -nointro disables that screen
# After loading the game, or a save file, a key needs to be pressed
# to continue. That screen does not respond to keyboard or mouse,
# so there is no way to continue. -nointro disables that screen
# (but also the intro's at the start of the game).
util.append_argument('-nointro')

Expand Down
2 changes: 1 addition & 1 deletion protonfixes/util.py
Expand Up @@ -280,7 +280,7 @@ def disable_dxvk():

def disable_esync():
set_environment('PROTON_NO_ESYNC', '1')

def disable_d3d11():
set_environment('PROTON_NO_D3D11', '1')

Expand Down
6 changes: 3 additions & 3 deletions tests/test_utils.py
Expand Up @@ -26,7 +26,7 @@ def setup_testenv(gameid):
"""

sys.argv[0] = glob.glob(os.path.expanduser('~/.local/share/Steam/steamapps/common/Proton*/proton'))[0]

test_env = {
'STEAM_COMPAT_DATA_PATH': '/tmp/protonfixes_test/' + str(gameid),
'SteamUser': 'steamuser',
Expand Down Expand Up @@ -185,15 +185,15 @@ def setUpClass(cls):
def test_return_installed(self):
""" Check True is returned if verb is in winetricks.log
"""

with Quiet():
checkinstalled = util.checkinstalled('good')
self.assertTrue(checkinstalled)

def test_return_uninstalled(self):
""" Check False is returned if verb is not in winetricks.log
"""

with Quiet():
checkinstalled = util.checkinstalled('bad')
self.assertFalse(checkinstalled)
Expand Down

0 comments on commit 7951867

Please sign in to comment.