projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
cee6438
)
6203: Remove redundant split before each_line.
author
Tom Clegg <tom@curoverse.com>
Mon, 8 Jun 2015 06:22:33 +0000
(
02:22
-0400)
committer
Tom Clegg <tom@curoverse.com>
Mon, 8 Jun 2015 06:22:33 +0000
(
02:22
-0400)
services/api/app/models/collection.rb
patch
|
blob
|
history
diff --git
a/services/api/app/models/collection.rb
b/services/api/app/models/collection.rb
index c4740f96eb4373552ef15130187750fc3b6812ce..81da63dd52c6b074ff2dcf7127e7c4bfbabc3ea4 100644
(file)
--- a/
services/api/app/models/collection.rb
+++ b/
services/api/app/models/collection.rb
@@
-216,7
+216,6
@@
class Collection < ArvadosModel
return '' if manifest == ''
new_lines = []
return '' if manifest == ''
new_lines = []
- lines = manifest.split("\n")
manifest.each_line do |line|
line.rstrip!
words = line.split(' ')
manifest.each_line do |line|
line.rstrip!
words = line.split(' ')