Mercurial > libervia-web
comparison libervia/pages/files/view/page_meta.py @ 1238:f55056bb67d4
replaced former use of "dummy" by "__"
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 29 Jan 2020 09:54:17 +0100 |
parents | b2d067339de3 |
children | f511f8fbbf8a |
comparison
equal
deleted
inserted
replaced
1237:987595a254b0 | 1238:f55056bb67d4 |
---|---|
20 | 20 |
21 def parse_url(self, request): | 21 def parse_url(self, request): |
22 self.getPathArgs(request, ["service", "*path"], min_args=2, service="jid", path="") | 22 self.getPathArgs(request, ["service", "*path"], min_args=2, service="jid", path="") |
23 | 23 |
24 | 24 |
25 def cleanup(dummy, tmp_dir, dest_path): | 25 def cleanup(__, tmp_dir, dest_path): |
26 try: | 26 try: |
27 os.unlink(dest_path) | 27 os.unlink(dest_path) |
28 except OSError: | 28 except OSError: |
29 log.warning(_("Can't remove temporary file {path}").format(path=dest_path)) | 29 log.warning(_("Can't remove temporary file {path}").format(path=dest_path)) |
30 try: | 30 try: |