Module: check_mk
Branch: master
Commit: fb2becd05a78a65aed03add8667b85667c7f9770
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=fb2becd05a78a6…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Fri Dec 15 10:37:13 2017 +0100
Fixed typo in profile_call
Change-Id: I268b8158c47ad15042c320ee831503242dfade05
---
lib/profile.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/profile.py b/lib/profile.py
index 2ed4173..39e9918 100644
--- a/lib/profile.py
+++ b/lib/profile.py
@@ -88,7 +88,7 @@ Examples:
def decorate(f):
def wrapper(*args, **kwargs):
filepath = "%s/%s_%s.profile" % \
- (base_dir.rstip("/"), f.__name__, time.time())
+ (base_dir.rstrip("/"), f.__name__, time.time())
with Profile(enabled=enabled,
profile_file=filepath):
return f(*args, **kwargs)