Ticket #345: appinstall_patch

File appinstall_patch, 0.5 KB (added by davidi, 3 years ago)

Patch for appinstall.py

Line 
1Index: paste/script/appinstall.py
2===================================================================
3--- paste/script/appinstall.py  (revision 7826)
4+++ paste/script/appinstall.py  (working copy)
5@@ -446,6 +446,8 @@
6         self.logging_file_config(config_file)
7         conf = appconfig(config_spec, relative_to=os.getcwd())
8         ep_name = conf.context.entry_point_name
9+        if ep_name is None:
10+            ep_name = 'main'
11         ep_group = conf.context.protocol
12         dist = conf.context.distribution
13         if dist is None: