projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48b208a
)
6203: Apply special case only to a 0-byte manifest: don't ignore white space.
author
Tom Clegg <tom@curoverse.com>
Mon, 8 Jun 2015 05:50:30 +0000
(
01:50
-0400)
committer
Tom Clegg <tom@curoverse.com>
Mon, 8 Jun 2015 05:59:35 +0000
(
01:59
-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 95154c79cab8387be3c5ba42679bfb1934017f00..c4740f96eb4373552ef15130187750fc3b6812ce 100644
(file)
--- a/
services/api/app/models/collection.rb
+++ b/
services/api/app/models/collection.rb
@@
-213,7
+213,7
@@
class Collection < ArvadosModel
# for each locator. Return a new manifest in which each locator
# has been replaced by the block's return value.
return nil if !manifest
- return '' if
!manifest.present?
+ return '' if
manifest == ''
new_lines = []
lines = manifest.split("\n")