Browse Source

flake8 cleanup

Alois Mahdal 10 years ago
parent
commit
7184b86bc7
1 changed files with 1 additions and 3 deletions
  1. 1
    3
      plugins/dropbox.py

+ 1
- 3
plugins/dropbox.py View File

@@ -2,7 +2,6 @@
2 2
 
3 3
 import sardine
4 4
 
5
-import os
6 5
 import subprocess
7 6
 
8 7
 
@@ -61,10 +60,9 @@ class DropboxStatus(object):
61 60
         cmd = ['dropbox', 'status']
62 61
         try:
63 62
             out = subprocess.check_output(cmd)
64
-        except OSError as e:
63
+        except OSError:
65 64
             self.status = DropboxStatus.error
66 65
         else:
67
-            lines = out.split("\n")
68 66
             if "Up to date" in out:
69 67
                 self.status = DropboxStatus.up_to_date
70 68
                 return