File: whisper-dump-typo.patch

package info (click to toggle)
python-whisper 0.9.10-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 176 kB
  • sloc: python: 911; makefile: 5
file content (17 lines) | stat: -rw-r--r-- 690 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Fix typo in whisper-dump script
Author: Jonas Genannt <jonas.genannt@capi2name.de>
Bug: https://bugs.launchpad.net/graphite/+bug/1007893

diff --git a/bin/whisper-dump.py b/bin/whisper-dump.py
index 0a34f82..44c4fc5 100755
--- a/bin/whisper-dump.py
+++ b/bin/whisper-dump.py
@@ -33,7 +33,7 @@ def read_header(map):
     try:
       (offset, secondsPerPoint, points) = struct.unpack(whisper.archiveInfoFormat, map[archiveOffset:archiveOffset+whisper.archiveInfoSize])
     except:
-      raise CorruptWhisperFile("Unable to reda archive %d metadata" % i)
+      raise CorruptWhisperFile("Unable to read archive %d metadata" % i)
 
     archiveInfo = {
       'offset' : offset,