diff options
| author | Ajax <commial@gmail.com> | 2015-03-30 18:05:24 +0200 |
|---|---|---|
| committer | Ajax <commial@gmail.com> | 2015-03-30 18:05:24 +0200 |
| commit | 37eb0a3d29434383a469f252975e1e3e1bd0309f (patch) | |
| tree | 64a31b9f881907f34d2faad8d7fde82c435c0412 /miasm2/analysis/binary.py | |
| parent | f72d0de75c6815db54f9d54824e8948d962eee5a (diff) | |
| download | focaccia-miasm-37eb0a3d29434383a469f252975e1e3e1bd0309f.tar.gz focaccia-miasm-37eb0a3d29434383a469f252975e1e3e1bd0309f.zip | |
Remove lazy logging pattern
Diffstat (limited to 'miasm2/analysis/binary.py')
| -rw-r--r-- | miasm2/analysis/binary.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/miasm2/analysis/binary.py b/miasm2/analysis/binary.py index c71c5e9b..2c8171d0 100644 --- a/miasm2/analysis/binary.py +++ b/miasm2/analysis/binary.py @@ -46,7 +46,7 @@ class Container(object): addr = 0 else: # Force fallback mode - log.warning('Fallback to string input (offset=%s)' % hex(addr)) + log.warning('Fallback to string input (offset=%s)', hex(addr)) return cls.fallback_container(data, vm, addr) # Try each available format @@ -59,7 +59,7 @@ class Container(object): log.error(error) # Fallback mode - log.warning('Fallback to string input (offset=%s)' % hex(addr)) + log.warning('Fallback to string input (offset=%s)', hex(addr)) return cls.fallback_container(data, vm, addr) @classmethod |