Révision 7063330e
Fix python style issues reported by flake8
Additionally some python2-only "print" statements are now compatible
with python3.
| plugins/currency/bitcoin/bitcoind_ | ||
|---|---|---|
| 236 | 236 |
'method': self.method, |
| 237 | 237 |
'params': args, |
| 238 | 238 |
'id': self.id, |
| 239 |
}
|
|
| 239 |
} |
|
| 240 | 240 |
request = urllib.request.Request(self.service.url, json.dumps(data).encode()) |
| 241 | 241 |
if self.service.username: |
| 242 | 242 |
auth_string = '%s:%s' % (self.service.username, self.service.password) |
Formats disponibles : Unified diff