Rename scmtools.crypto to scmtools.crypto_utils

Review Request #4483 — Created Aug. 25, 2013 and submitted

Information

Review Board
master

Reviewers

Rename scmtools.crypto to scmtools.crypto_utils

On case-insensitive file systems, the import of 'Crypto' inside
scmtools.crypto will fail. This problem also appears when attempting to
run Review Board inside a Linux Virtual Machine, where the code has been
shared from a Mac OSX Host. Since the default OSX filesystem is
case-insensitive, case-preserving, the import will fail as well.
The import now succeeds after the patch, and the unit tests exercising this code now pass.
Description From Last Updated

We're using parens now for multi-line imports. ... import (decrypt_password, encrypt_password)

chipx86chipx86

Here too.

chipx86chipx86
chipx86
  1. 
      
  2. reviewboard/hostingsvcs/beanstalk.py (Diff revision 1)
     
     
     
    Show all issues
    We're using parens now for multi-line imports.
    
    ... import (decrypt_password,
                encrypt_password)
  3. reviewboard/hostingsvcs/bitbucket.py (Diff revision 1)
     
     
     
    Show all issues
    Here too.
  4. 
      
SM
chipx86
  1. Ship It!
  2. 
      
SM
Review request changed
Status:
Completed
Change Summary:
Pushed to release-1.7.x (52279087307cffe99f81dd9cd829b48fcac4b9e4)