added type to class
authorTony Mack <tmack@paris.CS.Princeton.EDU>
Mon, 25 Apr 2011 19:02:46 +0000 (15:02 -0400)
committerTony Mack <tmack@paris.CS.Princeton.EDU>
Mon, 25 Apr 2011 19:02:46 +0000 (15:02 -0400)
sfa/rspecs/pg_rspec.py
sfa/rspecs/sfa_rspec.py

index 8b452f4..5af0b81 100755 (executable)
@@ -14,6 +14,7 @@ class PGRSpec(RSpec):
                  }
     schemas =  {'xsi': 'http://www.protogeni.net/resources/rspec/0.2 http://www.protogeni.net/resources/rspec/0.2/ad.xsd'
             }
+    type = 'pg'
 
     def create(self, type="advertisement"):
         RSpec.create(self)
index 9f41ec2..3512c43 100755 (executable)
@@ -11,7 +11,7 @@ class SfaRSpec(RSpec):
     xml = None
     header = '<?xml version="1.0"?>\n'
     namespaces = {}
-
+    type = 'sfa'
     ###################
     # Parser
     ###################