mirror of
https://github.com/SELinuxProject/selinux
synced 2025-01-30 01:12:51 +00:00
Author: Daniel J Walsh
Email: dwalsh@redhat.com Subject: sepolgen patch Date: Tue, 13 Jan 2009 08:59:51 -0500 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 md5 semodule packages is being retired. Supposed to use hashlib now. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iEYEARECAAYFAklsnlcACgkQrlYvE4MpobMEHQCgiRH3w/m4vTnPSdKfYCJtPHKF ncEAn2WdQb9l5uiUsmIvp+92mTBAcmCR =RVRr -----END PGP SIGNATURE----- Signed-off-by: Joshua Brindle <method@manicmethod.com>
This commit is contained in:
parent
f5a700d107
commit
fb50c7b4ef
@ -67,7 +67,7 @@ default_lr = 'LALR' # Default LR table generation method
|
||||
|
||||
error_count = 3 # Number of symbols that must be shifted to leave recovery mode
|
||||
|
||||
import re, types, sys, cStringIO, md5, os.path
|
||||
import re, types, sys, cStringIO, hashlib, os.path
|
||||
|
||||
# Exception raised for yacc-related errors
|
||||
class YaccError(Exception): pass
|
||||
@ -506,7 +506,7 @@ def initialize_vars():
|
||||
|
||||
Errorfunc = None # User defined error handler
|
||||
|
||||
Signature = md5.new() # Digital signature of the grammar rules, precedence
|
||||
Signature = hashlib.md5() # Digital signature of the grammar rules, precedence
|
||||
# and other information. Used to determined when a
|
||||
# parsing table needs to be regenerated.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user