summaryrefslogtreecommitdiff
path: root/lib/otlogger.rb
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2012-02-23 16:20:39 +0000
committerChristoph Helma <helma@in-silico.ch>2012-02-23 16:20:39 +0000
commitb651c4d199a7b4d6a06cdefb281601bddd2fc885 (patch)
tree52e4ec4bfb303472ef74713f828a3146869bd2e5 /lib/otlogger.rb
parentb6134b992fde8784c3556fbca32925e721700d32 (diff)
integrated features and tests from feature/typhoeus, tests pass reliably (as opposed to feature/typhoeus)
Diffstat (limited to 'lib/otlogger.rb')
-rw-r--r--lib/otlogger.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/otlogger.rb b/lib/otlogger.rb
index 295d0c1..e9fbc4d 100644
--- a/lib/otlogger.rb
+++ b/lib/otlogger.rb
@@ -12,7 +12,7 @@ class OTLogger < Logger
n = 2
line = lines[n]
- while (line =~ /spork.rb/ or line =~ /create/ or line =~ /overwrite.rb/)
+ while (line =~ /spork.rb/ or line =~ /create/ or line =~ /#{File.basename(__FILE__)}/)
n += 1
line = lines[n]
end