Skip to content

Commit

Permalink
fix more pylint warnings
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@21772 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Feb 21, 2019
1 parent c7b0f33 commit d795347
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/xpra/client/client_window_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ def get_desktop_workspace(self):
def get_window_workspace(self):
return None

def get_backing_class(self):
raise NotImplementedError()

def new_backing(self, bw, bh):
backing_class = self.get_backing_class()
Expand Down Expand Up @@ -143,7 +145,7 @@ def setup_window(self, bw, bh):
#ie: "encodings.rgb_formats" -> "rgb_formats"
#ie: "encoding.full_csc_modes" -> "full_csc_modes"
ek = k.split(".", 1)[1]
except:
except IndexError:
ek = k
dv = encoding_defaults.get(ek)
if dv is not None and dv==v:
Expand Down

0 comments on commit d795347

Please sign in to comment.