~sbeattie/apparmor-profile-tools/pre-merger-cleanups

« back to all changes in this revision

Viewing changes to apparmor/tools.py

  • Committer: kgupta8592 at gmail
  • Date: 2013-09-23 17:35:25 UTC
  • Revision ID: kgupta8592@gmail.com-20130923173525-ndwi988pa60ywh9q
Fixes netrule deletion for includes

Show diffs side-by-side

added added

removed removed

Lines of Context:
110
110
 
111
111
    def clean_profile(self, program, p):
112
112
        filename = apparmor.get_profile_filename(program)
113
 
 
114
113
        import apparmor.cleanprofile as cleanprofile
115
114
        prof = cleanprofile.Prof(filename)
116
115
        cleanprof = cleanprofile.CleanProf(True, prof, prof)