Patchwork [10,of,10] policy: remove unused policynoc and policynocffi constants

login
register
mail settings
Submitter Yuya Nishihara
Date May 28, 2017, 1:05 p.m.
Message ID <89aff794f52c55690c0a.1495976715@mimosa>
Download mbox | patch
Permalink /patch/20983/
State Accepted
Headers show

Comments

Yuya Nishihara - May 28, 2017, 1:05 p.m.
# HG changeset patch
# User Yuya Nishihara <yuya@tcha.org>
# Date 1493729148 -32400
#      Tue May 02 21:45:48 2017 +0900
# Node ID 89aff794f52c55690c0a1f35cbe24a3cdd79a589
# Parent  12d1610276046e78375590ba198ce781d3e9d278
policy: remove unused policynoc and policynocffi constants

Patch

diff --git a/mercurial/policy.py b/mercurial/policy.py
--- a/mercurial/policy.py
+++ b/mercurial/policy.py
@@ -22,8 +22,6 @@  import sys
 # run without recompiling the C extensions. This will be overridden by
 # __modulepolicy__ generated by setup.py.
 policy = b'allow'
-policynoc = (b'cffi', b'cffi-allow', b'py')
-policynocffi = (b'c', b'py')
 _packageprefs = {
     # policy: (versioned package, pure package)
     b'c': (r'cext', None),