Skip to content

Commit

Permalink
Fixing failing integration test after ruby 1.9 compatibility changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mrduncan committed Sep 7, 2009
1 parent 55e2678 commit 23fd5e1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/source_control/subversion/propget_parser.rb
Expand Up @@ -3,9 +3,11 @@ class Subversion

class Subversion::PropgetParser
def parse(lines)
lines = lines.lines if lines.is_a?(String)

directories = {}
current_dir = nil
lines.lines.each do |line|
lines.each do |line|
split = line.split(" - ")
if split.length > 1
current_dir = split[0]
Expand Down

0 comments on commit 23fd5e1

Please sign in to comment.