Browse Source

Small corrections

prieto 7 years ago
parent
commit
588efa485e
2 changed files with 3 additions and 3 deletions
  1. 2
    2
      editorial_models/em_simple.py
  2. 1
    1
      progs/slim/slim.py

+ 2
- 2
editorial_models/em_simple.py View File

150
                                 depends = (base_group,)
150
                                 depends = (base_group,)
151
 )
151
 )
152
 
152
 
153
-################################### Texts ##########################################################
153
+################################ Texts #############################
154
 # Classe texte
154
 # Classe texte
155
 text = em.new_class(   'text',
155
 text = em.new_class(   'text',
156
                         display_name = 'Text',
156
                         display_name = 'Text',
287
                     data_handler = 'text'
287
                     data_handler = 'text'
288
 )
288
 )
289
 
289
 
290
-###################################### Containers ###########################################
290
+###################################### Containers ##################
291
 # Classe container
291
 # Classe container
292
 container = em.new_class(  'container',
292
 container = em.new_class(  'container',
293
                             display_name = 'Container',
293
                             display_name = 'Container',

+ 1
- 1
progs/slim/slim.py View File

647
             print("\nPlease specify at least 1 instance with the --start \
647
             print("\nPlease specify at least 1 instance with the --start \
648
 option", file=sys.stderr)
648
 option", file=sys.stderr)
649
         elif args.foreground and len(names) > 1:
649
         elif args.foreground and len(names) > 1:
650
-            parser.prin_help()
650
+            parser.print_help()
651
             print("\nOnly 1 instance allowed with the use of the --forground \
651
             print("\nOnly 1 instance allowed with the use of the --forground \
652
 argument")
652
 argument")
653
         start_instances(names, args.foreground)
653
         start_instances(names, args.foreground)

Loading…
Cancel
Save