Make short URLs using various sites

surl/services.py organization

Asked by Ahmed El-Mahdawy on 2010-07-09

Is there a particular order for the services in surl/services.py? Would it help to order them alphabetically or by request type, for example?

Edit: Sorry for double-posting below. The other one was automatic.

Question information

Language:
English Edit question
Status:
Solved
For:
surl Edit question
Assignee:
No assignee Edit question
Solved by:
Savvas Radevic
Solved:
2010-07-10
Last query:
2010-07-10
Last reply:
2010-07-10
Best Savvas Radevic (medigeek) said : #1

On 9 July 2010 22:25, Propeng <email address hidden> wrote:
> New question #117189 on surl:
> https://answers.edge.launchpad.net/surl/+question/117189
>
> Is there a particular order for the services in surl/services.py? Would it help to order them alphabetically or by request type, for example?

I doubt it would help, being that we could have a load of services, I
only recommend you keep def supportedServices() sorted alphabetically,
so it's easier to find the def for a specific service. :)

Ahmed El-Mahdawy (propeng) said : #2

That's fine. :) I was just making sure there was no order I messed up.

Ahmed El-Mahdawy (propeng) said : #3

Thanks Savvas Radevic, that solved my question.