myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [2334] trunk/lib/rest.rb: modified curation term


From: noreply
Subject: [myexperiment-hackers] [2334] trunk/lib/rest.rb: modified curation term detection to strip off any leading c: markers
Date: Fri, 12 Feb 2010 07:30:26 -0500 (EST)

Revision
2334
Author
dgc
Date
2010-02-12 07:30:25 -0500 (Fri, 12 Feb 2010)

Log Message

modified curation term detection to strip off any leading c: markers

Modified Paths

Diff

Modified: trunk/lib/rest.rb (2333 => 2334)


--- trunk/lib/rest.rb	2010-02-12 09:58:37 UTC (rev 2333)
+++ trunk/lib/rest.rb	2010-02-12 12:30:25 UTC (rev 2334)
@@ -1665,6 +1665,9 @@
     # Start of curation hack
 
     def match_tag_name(name)
+
+      name.sub!(/^c:/, '')
+
       matches = []
 
       Conf.curation_types.each do |type|

reply via email to

[Prev in Thread] Current Thread [Next in Thread]