Author: reinhard
Date: 2011-06-18 04:18:17 -0500 (Sat, 18 Jun 2011)
New Revision: 10331

Modified:
   trunk/gnue-designer/
   trunk/gnue-designer/src/base/Incubator.py
   trunk/gnue-designer/src/base/tools/PropertyEditor.py
Log:
Clean stream of warnings about deprecated: False (common bzr-3144)



Property changes on: trunk/gnue-designer
___________________________________________________________________
Name: bzr:revision-info
   - timestamp: 2011-06-10 14:28:20.727999926 -0700
committer: whizman
properties: 
        branch-nick: designer

   + timestamp: 2011-06-10 15:04:26.615000010 -0700
committer: whizman
properties: 
        branch-nick: designer

Name: bzr:file-ids
   - src/templates/forms/FormBuilder.py 
2490@3a364389-8fce-0310-8f11-cc363fde16c7:trunk%2Fgnue-designer:src%2Ftemplates%2Fforms%2FFormBuilder.py
src/templates/forms/Simple.py   
1411@3a364389-8fce-0310-8f11-cc363fde16c7:trunk%2Fgnue-designer:src%2Ftemplates%2Fforms%2FSimple.py

   + src/base/Incubator.py      
1368@3a364389-8fce-0310-8f11-cc363fde16c7:trunk%2Fgnue-designer:src%2Fbase%2FIncubator.py
src/base/tools/PropertyEditor.py        
1346@3a364389-8fce-0310-8f11-cc363fde16c7:trunk%2Fgnue-designer:src%2Fbase%2Ftools%2FPropertyEditor.py

Name: bzr:revision-id:v4
   - 937 reinhard.muel...@bytewise.at-20100426083744-iq5ahvdxf38ltx6r
938 whizman_software_solutions_www.whizman.com-20110131201023-bmx4kgkf4erlim85
939 whizman_software_solutions_www.whizman.com-20110226005239-cn6eioyybe5p62rh
940 whizman-20110504201148-w669gtbff176vhop
941 whizman-20110505231025-243w4sfxhzqcbzt2
942 whizman-20110509181949-gnbxobve89qk8pr5
943 whizman-20110509204654-xx9cb9tiuszib409
944 whizman-20110519181636-ighctsn5h1uftknz
945 whizman-20110527230256-kqjr2eb33a29zy9o
946 whizman-20110527235820-zqeownp0345308ww
947 whizman-20110601222222-rvg8tu47q0x6y6rf
948 whizman-20110602174655-bbnm4cs5i6ht5mbg
949 whizman-20110604010805-vqpv6d319epfvvq0
950 whizman-20110609205251-fos3f8ur2m1bnkgv
951 whizman-20110609212406-jyc6m05v8dwxm3vx
952 whizman-20110610193706-5vjbvkyd9w3male1
953 whizman-20110610212820-inbfsiihadp7erc8

   + 937 reinhard.muel...@bytewise.at-20100426083744-iq5ahvdxf38ltx6r
938 whizman_software_solutions_www.whizman.com-20110131201023-bmx4kgkf4erlim85
939 whizman_software_solutions_www.whizman.com-20110226005239-cn6eioyybe5p62rh
940 whizman-20110504201148-w669gtbff176vhop
941 whizman-20110505231025-243w4sfxhzqcbzt2
942 whizman-20110509181949-gnbxobve89qk8pr5
943 whizman-20110509204654-xx9cb9tiuszib409
944 whizman-20110519181636-ighctsn5h1uftknz
945 whizman-20110527230256-kqjr2eb33a29zy9o
946 whizman-20110527235820-zqeownp0345308ww
947 whizman-20110601222222-rvg8tu47q0x6y6rf
948 whizman-20110602174655-bbnm4cs5i6ht5mbg
949 whizman-20110604010805-vqpv6d319epfvvq0
950 whizman-20110609205251-fos3f8ur2m1bnkgv
951 whizman-20110609212406-jyc6m05v8dwxm3vx
952 whizman-20110610193706-5vjbvkyd9w3male1
953 whizman-20110610212820-inbfsiihadp7erc8
954 whizman-20110610220426-9rwiqkz09ij933cv

Name: bzr:text-parents
   - src/templates/forms/FormBuilder.py whizman-20110609205251-fos3f8ur2m1bnkgv

   + src/base/Incubator.py      whizman-20110601222222-rvg8tu47q0x6y6rf
src/base/tools/PropertyEditor.py        
svn-v3-single1-dHJ1bmsvZ251ZS1kZXNpZ25lcg..:3a364389-8fce-0310-8f11-cc363fde16c7:trunk%2Fgnue-designer:9955


Modified: trunk/gnue-designer/src/base/Incubator.py
===================================================================
--- trunk/gnue-designer/src/base/Incubator.py   2011-06-18 09:18:15 UTC (rev 
10330)
+++ trunk/gnue-designer/src/base/Incubator.py   2011-06-18 09:18:17 UTC (rev 
10331)
@@ -168,8 +168,8 @@
                         attribute['Required'] = False
                     if not attribute.has_key('Unique'):
                         attribute['Unique'] = False
-                    if not attribute.has_key('Deprecated'):
-                        attribute['Deprecated'] = False
+                    #if not attribute.has_key('Deprecated'):
+                    #    attribute['Deprecated'] = False
                     if not attribute.has_key('References'):
                         attribute['References'] = None
                     if not attribute.has_key('ValidSet'):

Modified: trunk/gnue-designer/src/base/tools/PropertyEditor.py
===================================================================
--- trunk/gnue-designer/src/base/tools/PropertyEditor.py        2011-06-18 
09:18:15 UTC (rev 10330)
+++ trunk/gnue-designer/src/base/tools/PropertyEditor.py        2011-06-18 
09:18:17 UTC (rev 10331)
@@ -126,7 +126,7 @@
                     value = attributes.get('Default',None)
 
                 # This may be a tad drastic; drop any deprecated attributes
-                if attribute['Deprecated']:
+                if 'Deprecated' in attribute and attribute['Deprecated']:
                     continue
 
                 if first_object:


_______________________________________________
commit-gnue mailing list
commit-gnue@gnu.org
https://lists.gnu.org/mailman/listinfo/commit-gnue

Reply via email to