Skip to content

Commit

Permalink
Merge pull request #204 from Dr15Jones/removeCVSismsFromSkeletons
Browse files Browse the repository at this point in the history
Updated skeleton code generator to remove CVSisms
  • Loading branch information
nclopezo committed Aug 1, 2013
2 parents 03bf24d + bff89c1 commit 11a92a5
Show file tree
Hide file tree
Showing 14 changed files with 11 additions and 26 deletions.
2 changes: 0 additions & 2 deletions FWCore/Skeletons/python/pkg.py
Expand Up @@ -47,7 +47,6 @@ def __init__(self, config=None):
self.tdir = self.config.get('tmpl_dir')
self.author = user_info(self.config.get('author', None))
self.date = time.strftime("%a, %d %b %Y %H:%M:%S GMT", time.gmtime())
self.rcsid = '$%s$' % 'Id' # CVS commit is too smart
self.not_in_dir = self.config.get('not_in_dir', [])

def tmpl_etags(self):
Expand Down Expand Up @@ -148,7 +147,6 @@ def get_kwds(self):
'__date__': self.date,
'__class__': self.pname,
'__name__': self.pname,
'__rcsid__': self.rcsid,
'__subsys__': self.config.get('subsystem', 'Subsystem')}
args = self.config.get('args', None)
kwds.update(args)
Expand Down
@@ -1,6 +1,6 @@
// -*- C++ -*-
//
// Package: __pkgname__
// Package: __subsys__/__pkgname__
// Class: __class__
//
/**\class __class__ __class__.cc __subsys__/__pkgname__/plugins/__class__.cc
Expand All @@ -13,7 +13,6 @@
//
// Original Author: __author__
// Created: __date__
// __rcsid__
//
//

Expand Down
3 changes: 1 addition & 2 deletions FWCore/Skeletons/scripts/mkTemplates/EDFilter/EDFilter.cc
@@ -1,6 +1,6 @@
// -*- C++ -*-
//
// Package: __pkgname__
// Package: __subsys__/__pkgname__
// Class: __class__
//
/**\class __class__ __class__.cc __subsys__/__pkgname__/plugins/__class__.cc
Expand All @@ -13,7 +13,6 @@
//
// Original Author: __author__
// Created: __date__
// __rcsid__
//
//

Expand Down
3 changes: 1 addition & 2 deletions FWCore/Skeletons/scripts/mkTemplates/EDLooper/EDLooper.cc
@@ -1,6 +1,6 @@
// -*- C++ -*-
//
// Package: __pkgname__
// Package: __subsys__/__pkgname__
// Class: __class__
//
/**\class __class__ __class__.cc __subsys__/__pkgname__/plugins/__class__.cc
Expand All @@ -13,7 +13,6 @@
//
// Original Author: __author__
// Created: __date__
// __rcsid__
//
//

Expand Down
@@ -1,6 +1,6 @@
// -*- C++ -*-
//
// Package: __pkgname__
// Package: __subsys__/__pkgname__
// Class: __class__
//
/**\class __class__ __class__.cc __subsys__/__pkgname__/plugins/__class__.cc
Expand All @@ -13,7 +13,6 @@
//
// Original Author: __author__
// Created: __date__
// __rcsid__
//
//

Expand Down
@@ -1,6 +1,6 @@
// -*- C++ -*-
//
// Package: __pkgname__
// Package: __subsys__/__pkgname__
// Class: __class__
//
/**\class __class__ __class__.h __subsys__/__pkgname__/plugins/__class__.cc
Expand All @@ -13,7 +13,6 @@
//
// Original Author: __author__
// Created: __date__
// __rcsid__
//
//

Expand Down
Expand Up @@ -22,7 +22,6 @@
//
// Original Author: __author__
// Created: __date__
// __rcsid__
//

#include "DataFormats/PatCandidates/interface/HardEventHypothesis.h"
Expand Down
Expand Up @@ -19,7 +19,6 @@
//
// Original Author: __author__
// Created: __date__
// __rcsid__
//


Expand Down
3 changes: 1 addition & 2 deletions FWCore/Skeletons/scripts/mkTemplates/Record/Record.cc
@@ -1,14 +1,13 @@
// -*- C++ -*-
//
// Package: __pkgname__
// Package: __subsys__/__pkgname__
// Class : __class__
//
// Implementation:
// [Notes on implementation]
//
// Author: __author__
// Created: __date__
// __rcsid__

#include "__subsys__/__pkgname__/interface/__class__.h"
#include "FWCore/Framework/interface/eventsetuprecord_registration_macro.h"
Expand Down
3 changes: 1 addition & 2 deletions FWCore/Skeletons/scripts/mkTemplates/Record/Record.h
Expand Up @@ -2,7 +2,7 @@
#define __class_____class___h
// -*- C++ -*-
//
// Package: __pkgname__
// Package: __subsys__/__pkgname__
// Class : __class__
//
/**\class __class__ __class__.h __subsys__/__pkgname__/interface/__class__.h
Expand All @@ -16,7 +16,6 @@
//
// Author: __author__
// Created: __date__
// __rcsid__
//

#include "FWCore/Framework/interface/EventSetupRecordImplementation.h"
Expand Down
3 changes: 1 addition & 2 deletions FWCore/Skeletons/scripts/mkTemplates/Skeleton/Skeleton.cc
@@ -1,14 +1,13 @@
// -*- C++ -*-
//
// Package: __pkgname__
// Package: __subsys__/__pkgname__
// Class : __class__
//
// Implementation:
// [Notes on implementation]
//
// Original Author: __author__
// Created: __date__
// __rcsid__
//

// system include files
Expand Down
3 changes: 1 addition & 2 deletions FWCore/Skeletons/scripts/mkTemplates/Skeleton/Skeleton.h
Expand Up @@ -2,7 +2,7 @@
#define __subsys_____pkgname_____class___h
// -*- C++ -*-
//
// Package: __pkgname__
// Package: __subsys__/__pkgname__
// Class : __class__
//
/**\class __class__ __class__.h "__incdir____class__.h"
Expand All @@ -16,7 +16,6 @@
//
// Original Author: __author__
// Created: __date__
// __rcsid__
//

// system include files
Expand Down
3 changes: 1 addition & 2 deletions FWCore/Skeletons/scripts/mkTemplates/TSelector/TSelector.cc
@@ -1,6 +1,6 @@
// -*- C++ -*-
//
// Package: __pkgname__
// Package: __subsys__/__pkgname__
// Class: __class__
//
/*
Expand All @@ -13,7 +13,6 @@
//
// Original Author: __author__
// Created: __date__
// __rcsid__
//
//

Expand Down
3 changes: 1 addition & 2 deletions FWCore/Skeletons/scripts/mkTemplates/TSelector/TSelector.h
Expand Up @@ -2,7 +2,7 @@
#define __subsys_____pkgname_____class___h
// -*- C++ -*-
//
// Package: __pkgname__
// Package: __subsys__/__pkgname__
// Class: __class__
//
/**\class __class__ __class__.h __subsys__/__pkgname__/plugins/__class__.h
Expand All @@ -15,7 +15,6 @@ Description: [one line class summary]
//
// Original Author: __author__
// Created: __date__
// __rcsid__
//
//
#include <TH1.h>
Expand Down

0 comments on commit 11a92a5

Please sign in to comment.