aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v2/dal_numbering.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2010-07-02 13:56:35 -0400
committerRalph Amissah <ralph@amissah.com>2010-07-02 13:56:35 -0400
commit17e98be26ad3f6e3650502f306e8eeeacf3bd879 (patch)
tree7eb9ced1be61d7ed0bf8defbb9edbd7d4b346c97 /lib/sisu/v2/dal_numbering.rb
parentMerge branch 'upstream' into debian/sid (diff)
parentRemoving useless whitespaces from upstream files at EOL. (diff)
Merge branch 'upstream' into debian/sid
Diffstat (limited to 'lib/sisu/v2/dal_numbering.rb')
-rw-r--r--lib/sisu/v2/dal_numbering.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v2/dal_numbering.rb b/lib/sisu/v2/dal_numbering.rb
index c62ff8d9..c052db29 100644
--- a/lib/sisu/v2/dal_numbering.rb
+++ b/lib/sisu/v2/dal_numbering.rb
@@ -303,7 +303,7 @@ module SiSU_numbering
if not @md.seg_names.nil? \
and not @md.seg_names.include?(possible_seg_name)
dob.name=possible_seg_name
- dob.tags=[dob.name,dob.tags].flatten if dob.name !~/^\d+$/
+ dob.tags=[dob.name,dob.tags].flatten if dob.name !~/^\d+$/
@md.seg_names << possible_seg_name
else puts 'warn, there may be a conflicting numbering scheme' if @md.cmd =~/[VM]/
end
@@ -312,7 +312,7 @@ module SiSU_numbering
and dob.name #extract segment name from embedded document structure info
if not @md.seg_names.nil? \
and not @md.seg_names.include?(dob.name)
- dob.tags=[dob.name,dob.tags].flatten if dob.name !~/^\d+$/
+ dob.tags=[dob.name,dob.tags].flatten if dob.name !~/^\d+$/
@md.seg_names << dob.name
end
end