lib/irrc/irrd/api.rb in irrc-0.2.1 vs lib/irrc/irrd/api.rb in irrc-0.2.2
- old
+ new
@@ -34,10 +34,10 @@
end
def parse_prefixes_from_route_set(result)
case result
when success_code
- result.gsub(/^#{$1}$/, '').strip.split.reject {|p| p =~ /^A\d+$/ }.uniq
+ result.gsub(/^#{$1}$/, '').strip.split.reject {|p| p =~ /^A\d+$/}.uniq
when error_code
raise $1
end
end