Skip to content

Commit

Permalink
Made able to handle empty generic interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
cmacmackin committed Mar 29, 2016
1 parent c682b12 commit 2d77c5c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ford/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
__author__ = "Chris MacMackin, Jacob Williams, Marco Restelli, Iain Barrass, Jérémie Burgalat"
__credits__ = ["Stefano Zhagi", "Izaak Beekman", "Gavin Huttley"]
__license__ = "GPLv3"
__version__ = "4.5.3"
__version__ = "4.5.4"
__maintainer__ = "Chris MacMackin"
__status__ = "Production"

Expand Down
2 changes: 0 additions & 2 deletions ford/sourceform.py
Original file line number Diff line number Diff line change
Expand Up @@ -1509,8 +1509,6 @@ def correlate(self,project):
self.procedure.correlate(project)

def _cleanup(self):
if len(self.subroutines + self.functions + self.modprocs) < 1 and self.generic:
raise Exception("Generic interface block found with no contents: {}".format(self.name))
if self.abstract:
contents = []
for proc in (self.subroutines + self.functions):
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
name = 'FORD',
packages = ['ford'],
include_package_data = True,
version = '4.5.3',
version = '4.5.4',
description = 'FORD, standing for FORtran Documenter, is an automatic documentation generator for modern Fortran programs.',
long_description = long_description,
author = 'Chris MacMackin',
author_email = '[email protected]',
url = 'https://github.com/cmacmackin/ford/',
download_url = 'https://github.com/cmacmackin/ford/tarball/4.5.3',
download_url = 'https://github.com/cmacmackin/ford/tarball/4.5.4',
keywords = ['Markdown', 'Fortran', 'documentation', 'comments'],
classifiers=[
# How mature is this project? Common values are
Expand Down

0 comments on commit 2d77c5c

Please sign in to comment.