Skip to content

Conversation

@alessio
Copy link
Member

@alessio alessio commented Jun 14, 2015

  • Don't use backslash, os.path's OS-agnostic functions guarantee
    portability.
  • Delegate the reponsibility of building the conffile's path
    to a private auxiliary function: _path_to_conffile()
  • Avoid duplication of information, i.e. store filename's name
    template in a global variable.

Nedless to say, all this needs testing.

- Don't use backslash, os.path's OS-agnostic functions guarantee
  portability.
- Delegate the reponsibility of building the conffile's path
  to a private auxiliary function: _path_to_conffile()
- Avoid duplication of information, i.e. store filename's name
  template in a global variable.

Nedless to say, all this needs testing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants