From 7e45583978d70ae65ae678b5381d88a9abea2928 Mon Sep 17 00:00:00 2001 From: Anthony Scemama Date: Fri, 12 Mar 2010 13:14:52 +0100 Subject: [PATCH] Bug with other modules. Version:1.1.47 --- packages/Makefile | 2 +- src/module.py | 1 + src/version.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/Makefile b/packages/Makefile index 9289983..70c5a8c 100644 --- a/packages/Makefile +++ b/packages/Makefile @@ -1,6 +1,6 @@ include version default: - rm *.rpm *.tar.gz 2> /dev/null ;\ + rm *.rpm *.tar.gz *.exe.gz 2> /dev/null ;\ VERSION=$(VERSION) epm -a noarch -m noarch irpf90 irpf90.list ;\ cd noarch ;\ cp ~/.rpmmacros .;\ diff --git a/src/module.py b/src/module.py index 4cfc6da..3b5024c 100644 --- a/src/module.py +++ b/src/module.py @@ -201,6 +201,7 @@ class Fmodule(object): buffer = filter(lambda x: x.lstrip().startswith("use "), \ self.generated_text+self.head+self.residual_text) buffer = map(lambda x: x.split()[1], buffer) + buffer = filter(lambda x: x.endswith("_mod"),buffer ) self._needed_modules = make_single(buffer) if self.name in self._needed_modules: self._needed_modules.remove(self.name) diff --git a/src/version.py b/src/version.py index 4fcfcf7..c0d42cc 100644 --- a/src/version.py +++ b/src/version.py @@ -1 +1 @@ -version = "1.1.46" +version = "1.1.47"