hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
4e0892b7a99ac5b5460f44c6e3634de944c10b9f
diff --git a/src/CacheableEloquent.php b/src/CacheableEloquent.php index <HASH>..<HASH> 100644 --- a/src/CacheableEloquent.php +++ b/src/CacheableEloquent.php @@ -247,14 +247,14 @@ trait CacheableEloquent /** * Generate unique cache key. * - * @param \Illuminate\Database\Eloquent\Builder $builder -...
Support both eloquent and query builders
rinvex_laravel-cacheable
train
01a83cdabdfd337a2c48c85ddb170862f729bc70
diff --git a/mordred/task_panels.py b/mordred/task_panels.py index <HASH>..<HASH> 100644 --- a/mordred/task_panels.py +++ b/mordred/task_panels.py @@ -132,8 +132,8 @@ class TaskPanels(Task): for panel_file in self.panels[ds]: try: self.__create_dashboard(panel_file) - ...
[task_panels] Improve the log of exceptions
chaoss_grimoirelab-sirmordred
train
1f5b76ac1825c4d62bf47d0ae2f0f21bdfd40e4a
diff --git a/merkledag/node.go b/merkledag/node.go index <HASH>..<HASH> 100644 --- a/merkledag/node.go +++ b/merkledag/node.go @@ -76,11 +76,6 @@ func MakeLink(n *Node) (*Link, error) { }, nil } -// GetCachedNode returns the MDAG Node that was cached, or nil -func (l *Link) GetCachedNode() *Node { - return l.node ...
Remove GetCachedNode() License: MIT
ipfs_go-ipfs
train
d6d776f7080ba0f0c7d0eb899cd0c0f33245b715
diff --git a/src/ViKon/Auth/AuthSeederTrait.php b/src/ViKon/Auth/AuthSeederTrait.php index <HASH>..<HASH> 100644 --- a/src/ViKon/Auth/AuthSeederTrait.php +++ b/src/ViKon/Auth/AuthSeederTrait.php @@ -28,8 +28,8 @@ trait AuthSeederTrait protected function newUserModel($username, $password, array $options = []) ...
Globally change username to lower and hash password
vi-kon_laravel-auth
train
2d2bde6574d47a5a6c43a73e7c72fd88239ce956
diff --git a/packages/cli/src/cli-hosting.js b/packages/cli/src/cli-hosting.js index <HASH>..<HASH> 100755 --- a/packages/cli/src/cli-hosting.js +++ b/packages/cli/src/cli-hosting.js @@ -76,7 +76,7 @@ const setup = async () => { .description('Configure hosting parameters') .option('-c, --cname <domain_name>',...
fix(hosting): Fix #<I>. The BrowserRouter option should accept true|false in hosting config
Syncano_syncano-node
train
29a14958049bedbdf5156d173bbb14aad44f296d
diff --git a/uproot/tree.py b/uproot/tree.py index <HASH>..<HASH> 100644 --- a/uproot/tree.py +++ b/uproot/tree.py @@ -261,6 +261,9 @@ class TTreeMethods(object): for branch in self._fBranches: self._attachstreamer(branch, context.streamerinfosmap.get(getattr(branch, "_fClassName", None), None), c...
introduce a _branchlookup dict for faster lookups (one per TTree, NOT one per TBranch)
scikit-hep_uproot
train
2c3a4e9bdd1023fa3dfbd4a059102916a1ff9966
diff --git a/perceval/backend.py b/perceval/backend.py index <HASH>..<HASH> 100644 --- a/perceval/backend.py +++ b/perceval/backend.py @@ -30,27 +30,39 @@ from .utils import DEFAULT_DATETIME class Backend: """Abstract class for backends. - Base class to fetch data from a repository. During the - initializ...
[backend] Add version and origin attributes
chaoss_grimoirelab-perceval
train
52f8ba0e5bd20579e4a5fc56365cd20a8bda9f88
diff --git a/core/src/main/java/hudson/PluginManager.java b/core/src/main/java/hudson/PluginManager.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/hudson/PluginManager.java +++ b/core/src/main/java/hudson/PluginManager.java @@ -24,6 +24,7 @@ package hudson; import edu.umd.cs.findbugs.annotations.NonNull;...
FindBugs: Suppress DMI_COLLECTION_OF_URLS in PluginManager since it's safe
jenkinsci_jenkins
train
ddca5d478aa8c4987e43c9801011c6aa88b79762
diff --git a/pytds/ntlm.py b/pytds/ntlm.py index <HASH>..<HASH> 100644 --- a/pytds/ntlm.py +++ b/pytds/ntlm.py @@ -14,7 +14,10 @@ import struct import base64 import string -import pyDes +try: + import pyDes +except: + raise Exception('To use ntlm authentication you should install pyDes module: pip install pyde...
check for pyDes package presence
denisenkom_pytds
train
2a2eab2899a361fdca7980f5bc1058295fa3e39d
diff --git a/hcsvlab.py b/hcsvlab.py index <HASH>..<HASH> 100644 --- a/hcsvlab.py +++ b/hcsvlab.py @@ -969,7 +969,21 @@ class Client(object): raise APIError(resp['error']) except KeyError: raise APIError(resp) - + + + def delete_item_list(self, item_list_url...
method for deleting item list added in Client
Alveo_pyalveo
train
df243da0cc611996ad7a3de89a34b2c850aec1d8
diff --git a/payu/experiment.py b/payu/experiment.py index <HASH>..<HASH> 100644 --- a/payu/experiment.py +++ b/payu/experiment.py @@ -457,7 +457,7 @@ class Experiment(object): for model in self.models: # Skip models without executables (e.g. couplers) - if not model.local_exec_path: ...
Initialised all local versions of paths. Required for multi model experiments containing models without executables, but a good idea nonetheless. Strip the path from exec_name and exec_path_local to make it equivalent if exe is a simple name or a full path. Changed local_exec_path to exec_path_local for consistency.
payu-org_payu
train
5261a175a116b77b815e3c1cad12f8f2f35cda95
diff --git a/app/view/js/bolt.js b/app/view/js/bolt.js index <HASH>..<HASH> 100644 --- a/app/view/js/bolt.js +++ b/app/view/js/bolt.js @@ -782,29 +782,6 @@ function updateGeoCoords(key) { }; - -function bindMarkdown(key) { -// return pasted.replace(/\d+/,"XXX"); } - $('#'+key).catchpaste( function( pasted, opti...
Remove bindMarkdown() JS function as Markdownify library is now removed
bolt_bolt
train
10129fbf57ef851ad56158529081afa05ea1c030
diff --git a/activestorage/app/models/active_storage/variant.rb b/activestorage/app/models/active_storage/variant.rb index <HASH>..<HASH> 100644 --- a/activestorage/app/models/active_storage/variant.rb +++ b/activestorage/app/models/active_storage/variant.rb @@ -1,5 +1,7 @@ # frozen_string_literal: true +require "os...
DRY up web image checks in ActiveStorage::Variant
rails_rails
train
79c8ee495de3826f322d8c6144be14bebd275264
diff --git a/angr/state_plugins/history.py b/angr/state_plugins/history.py index <HASH>..<HASH> 100644 --- a/angr/state_plugins/history.py +++ b/angr/state_plugins/history.py @@ -240,7 +240,7 @@ class SimStateHistory(SimStatePlugin): return self.descriptions @property def addr_trace(self): - p...
A typo fix in History.addr_trace.
angr_angr
train
0a30418ad3bb95ff1c88eea2ca91505f43d62bca
diff --git a/parsl/dataflow/futures.py b/parsl/dataflow/futures.py index <HASH>..<HASH> 100644 --- a/parsl/dataflow/futures.py +++ b/parsl/dataflow/futures.py @@ -93,7 +93,7 @@ class AppFuture(Future): Returns: - None - Updates the super() with the result() or exception() + Updates...
Replace super references with self references in AppFuture (#<I>) The behaviour shouldn't change over this commit as the self methods should be the same as the super methods at present, but super() calls should be avoided unless something specific is being done with inheritence.
Parsl_parsl
train
c475815afbab645df74a8d7227ef52b956495c4d
diff --git a/web/concrete/core/models/file.php b/web/concrete/core/models/file.php index <HASH>..<HASH> 100644 --- a/web/concrete/core/models/file.php +++ b/web/concrete/core/models/file.php @@ -419,6 +419,10 @@ class Concrete5_Model_File extends Object { $db->Execute("delete from FileAttributeValues where fID = ?",...
file delete cleanup remove related data records when removing a file Former-commit-id: <I>c7bc<I>c<I>e<I>c0d<I>be<I>b<I>d<I>f4
concrete5_concrete5
train
c094f3d8cfe2c4d82c42f249a81a871d3bead9e6
diff --git a/examples/redditlivebot/app.js b/examples/redditlivebot/app.js index <HASH>..<HASH> 100644 --- a/examples/redditlivebot/app.js +++ b/examples/redditlivebot/app.js @@ -2,7 +2,7 @@ const nodeogram = require('nodeogram'), WebSocketClient = require('websocket').client, config = require('./config.json...
Webhooks for RedditLiveBot
ALCC01_nodeogram
train
0bfab09f0774f547bdc413339b67716371712851
diff --git a/packages/postcss-reduce-idents/CHANGELOG.md b/packages/postcss-reduce-idents/CHANGELOG.md index <HASH>..<HASH> 100644 --- a/packages/postcss-reduce-idents/CHANGELOG.md +++ b/packages/postcss-reduce-idents/CHANGELOG.md @@ -1,3 +1,8 @@ +# 1.0.2 + +* Fixes an issue where multiple, comma separated animations w...
Fixes an issue with renaming multiple animations.
cssnano_cssnano
train
ac7014ca573d9e50a8befc918d727e346dbf7a3f
diff --git a/pycanlib/ipython/AcceptanceFilter.py b/pycanlib/ipython/AcceptanceFilter.py index <HASH>..<HASH> 100644 --- a/pycanlib/ipython/AcceptanceFilter.py +++ b/pycanlib/ipython/AcceptanceFilter.py @@ -5,7 +5,7 @@ from pycanlib import CAN class AcceptanceFilter(ipipe.Pipe): def __init__(self, std_acceptance_...
Fixed references to CAN.SoftwareAcceptanceFilter in ipython/AcceptanceFilter.py
hardbyte_python-can
train
20302cde4fe84d3c3b801ea230611ca00c067684
diff --git a/salt/pillar/reclass_adapter.py b/salt/pillar/reclass_adapter.py index <HASH>..<HASH> 100644 --- a/salt/pillar/reclass_adapter.py +++ b/salt/pillar/reclass_adapter.py @@ -1,21 +1,60 @@ ''' -Adapter for reclass. +ext_pillar adapter for reclass. -This file cannot be called reclass.py, because then the modu...
Provide wrapper functions for ext_pillar and tops Unfortunately, the way Salt loads modules means that a simple import adapter doesn't allow reclass to access the globals, like __opts__. Therefore, we must provide a wrapper. Oh well.
saltstack_salt
train
fed65fe64740f44ac9000f62c74d10e028b13ad9
diff --git a/modules/custom/openy_campaign/src/Entity/Controller/MappingListBuilder.php b/modules/custom/openy_campaign/src/Entity/Controller/MappingListBuilder.php index <HASH>..<HASH> 100644 --- a/modules/custom/openy_campaign/src/Entity/Controller/MappingListBuilder.php +++ b/modules/custom/openy_campaign/src/Entity...
Fix issue with absent area in the branch.
ymcatwincities_openy
train
7df49b068ae377854f9ee47aa94f958175cb85be
diff --git a/bigchaindb/web/views/info.py b/bigchaindb/web/views/info.py index <HASH>..<HASH> 100644 --- a/bigchaindb/web/views/info.py +++ b/bigchaindb/web/views/info.py @@ -1,7 +1,7 @@ """This module provides the blueprint for some basic API endpoints. -For more information please refer to the documentation in Api...
remove apiary from docstring
bigchaindb_bigchaindb
train
22ba2f4c7d5420d138dbb3d8aa0c08cf0bcb29b2
diff --git a/test/test_stanforddependencies.py b/test/test_stanforddependencies.py index <HASH>..<HASH> 100644 --- a/test/test_stanforddependencies.py +++ b/test/test_stanforddependencies.py @@ -87,27 +87,33 @@ class DefaultBackendTest(unittest.TestCase): assert isinstance(sentences, Corpus) assert is...
test_stanforddependencies.py: more debugging assertTokensMatch() now takes the tree. Reformatted for better PEP8 compliance.
dmcc_PyStanfordDependencies
train
cb5de7c6e57c42c72f3669a5b4aecf2661e026b4
diff --git a/src/utils/serve-functions.js b/src/utils/serve-functions.js index <HASH>..<HASH> 100644 --- a/src/utils/serve-functions.js +++ b/src/utils/serve-functions.js @@ -117,11 +117,14 @@ function createHandler(dir) { body = ""; } + let remoteAddress = (request.headers['x-forwarded-for'] || reques...
Functions: Add client-ip header to request
netlify_cli
train
da2e6325666b018510cebb67c6ea191c526d30f6
diff --git a/salt/modules/parted.py b/salt/modules/parted.py index <HASH>..<HASH> 100644 --- a/salt/modules/parted.py +++ b/salt/modules/parted.py @@ -183,8 +183,8 @@ def list_(device, unit=None): 'start': cols[1], 'end': cols[2], 'size': cols[3], - ...
parted: fix the ordering of list command The command `parted -m -s {} print` do not print the "Type" column, but after the "File System" column print the name of the partition. This point that the type of the partition cannot be extracted using parted with machine parseable output. (cherry picked from commit f<I>d<I...
saltstack_salt
train
7db390a44c7bf1c9b40254f67fe70cfa916da4dc
diff --git a/Reinforcement-Learning/pyqlearning/qlearning/boltzmann_q_learning.py b/Reinforcement-Learning/pyqlearning/qlearning/boltzmann_q_learning.py index <HASH>..<HASH> 100644 --- a/Reinforcement-Learning/pyqlearning/qlearning/boltzmann_q_learning.py +++ b/Reinforcement-Learning/pyqlearning/qlearning/boltzmann_q_l...
Update japanese comment.
chimera0_accel-brain-code
train
3eee458430e2a918594b41cdbf8be8142fb907db
diff --git a/src/Symfony/Component/OutputEscaper/Escaper.php b/src/Symfony/Component/OutputEscaper/Escaper.php index <HASH>..<HASH> 100644 --- a/src/Symfony/Component/OutputEscaper/Escaper.php +++ b/src/Symfony/Component/OutputEscaper/Escaper.php @@ -294,34 +294,54 @@ class Escaper 'js' => ...
[OutputEscaper] replaced the JS escaper with the one from Twig
symfony_symfony
train
9169cd43d49236c69d5c9b7c556cb0ac0c9ce497
diff --git a/modules/caddyhttp/caddyhttp.go b/modules/caddyhttp/caddyhttp.go index <HASH>..<HASH> 100644 --- a/modules/caddyhttp/caddyhttp.go +++ b/modules/caddyhttp/caddyhttp.go @@ -234,6 +234,8 @@ func (app *App) automaticHTTPS() error { // skip if all listeners use the HTTP port if !srv.listenersUseAnyPortOt...
Log when auto HTTPS or auto HTTP->HTTPS redirects are disabled
mholt_caddy
train
fdc8a3d81ca6ec91e86269972a88b9b5ac54c764
diff --git a/test/BootstrapMixinSpec.js b/test/BootstrapMixinSpec.js index <HASH>..<HASH> 100644 --- a/test/BootstrapMixinSpec.js +++ b/test/BootstrapMixinSpec.js @@ -153,40 +153,22 @@ describe('BootstrapMixin', function () { assert.deepEqual(instance.getBsClassSet(), {'btn': true, 'btn-inline': true}); });...
Simplify 'bsSize' sizes mapping tests
react-bootstrap_react-bootstrap
train
73e438bf0f8c363b0941d4d880ff2122750ca7fe
diff --git a/src/Scheduler.php b/src/Scheduler.php index <HASH>..<HASH> 100644 --- a/src/Scheduler.php +++ b/src/Scheduler.php @@ -75,8 +75,8 @@ class Scheduler extends ArrayObject */ public function at($datestring) { - $date = date('Y-m-d H:i:00', strtotime(date($datestring, $this->now))); - ...
better matching of the date; strtotime of course trips up on regexes
monolyth-php_croney
train
2b6ea64dbd408f9519f971b6cdbf874c6882070e
diff --git a/README.md b/README.md index <HASH>..<HASH> 100644 --- a/README.md +++ b/README.md @@ -158,7 +158,7 @@ Example configuration: "leading-zero": false, "remove-empty-rulesets": true, "rule-indent": " ", - "stick-brace": true, + "stick-brace": "\n", "strip-spaces": true, "unitl...
Stick brace: Change acceptable values `stick-brace` option now accepts only these kinds of values: - `{Number}` of spaces; - `{String}` of whitespaces and tabs. If there is any other character in the string, the value will not be set.
csscomb_csscomb.js
train
f3ac8bd57c0c8bc5da6f9b10672f74f4f1171d10
diff --git a/go/vt/vttablet/tabletserver/tabletserver.go b/go/vt/vttablet/tabletserver/tabletserver.go index <HASH>..<HASH> 100644 --- a/go/vt/vttablet/tabletserver/tabletserver.go +++ b/go/vt/vttablet/tabletserver/tabletserver.go @@ -238,8 +238,7 @@ func NewTabletServer(name string, config *tabletenv.TabletConfig, top...
Working version with e2e for 'current' stream
vitessio_vitess
train
56d0b608f3288c2eb40b972438127e687f9a01ce
diff --git a/packages/interaction/src/InteractionManager.js b/packages/interaction/src/InteractionManager.js index <HASH>..<HASH> 100644 --- a/packages/interaction/src/InteractionManager.js +++ b/packages/interaction/src/InteractionManager.js @@ -1160,7 +1160,12 @@ export default class InteractionManager extends EventE...
Only call preventDefault on normalized events if the browser allows it. (#<I>)
pixijs_pixi.js
train
4642f96245f56b8104021acf354f64ec519939c4
diff --git a/dist/chef/cookbooks/sensu/recipes/default.rb b/dist/chef/cookbooks/sensu/recipes/default.rb index <HASH>..<HASH> 100644 --- a/dist/chef/cookbooks/sensu/recipes/default.rb +++ b/dist/chef/cookbooks/sensu/recipes/default.rb @@ -20,16 +20,20 @@ node.sensu.rabbitmq.ssl.cert_chain_file = File.join(node.sensu.d...
[chef] reduce the number of is_windows calls
sensu_sensu
train
0dc5a8230e86495df7fb153913929425be500f38
diff --git a/horizon/karma.conf.js b/horizon/karma.conf.js index <HASH>..<HASH> 100644 --- a/horizon/karma.conf.js +++ b/horizon/karma.conf.js @@ -22,14 +22,15 @@ var path = require('path'); module.exports = function (config) { var xstaticPath = path.resolve('./.tox/npm'); - if (fs.existsSync(xstaticPath)) { - ...
Makes the xstatic files lookup dynamic in the tests This change makes it so the tests will look for the actual python folder where the xstatic files are located instead of looking only for a python<I>/ folder. Change-Id: Ib2a<I>b<I>b<I>ab<I>fb9a5 Closes-bug: #<I>
openstack_horizon
train
e0e54ca7c2d8ce0f2573e908abccc3a1da6e5c8c
diff --git a/tcex/sessions/external_session.py b/tcex/sessions/external_session.py index <HASH>..<HASH> 100644 --- a/tcex/sessions/external_session.py +++ b/tcex/sessions/external_session.py @@ -34,7 +34,10 @@ def default_too_many_requests_handler(response: Response) -> float: utils = Utils() retry_after = re...
tweak handling of rate-after header to always try to cast to a float before calling any_to_datetime
ThreatConnect-Inc_tcex
train
18d669b3fa0370ddb08a25ee50388c9b4d24658d
diff --git a/rulebook-core/src/test/java/com/deliveredtechnologies/rulebook/model/RuleBookAuditorTest.java b/rulebook-core/src/test/java/com/deliveredtechnologies/rulebook/model/RuleBookAuditorTest.java index <HASH>..<HASH> 100644 --- a/rulebook-core/src/test/java/com/deliveredtechnologies/rulebook/model/RuleBookAudito...
added JavaDoc to further clarify new test
deliveredtechnologies_rulebook
train
783630be879685a8769ce97c784aec128f98166d
diff --git a/.gitignore b/.gitignore index <HASH>..<HASH> 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .idea .DS_STORE *.log -*.zip \ No newline at end of file +*.zip +node_modules/ diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -67,7 +67,7 @@ Speech.prototy...
Implemented the feature suggested by Mandy in issue 7. In addition, added node_modules to the .gitignore file.
mandnyc_ssml-builder
train
e5a97788ab25acb179a70d39d14642af2ec54d9b
diff --git a/bosh-director/lib/bosh/director/api/route_configuration.rb b/bosh-director/lib/bosh/director/api/route_configuration.rb index <HASH>..<HASH> 100644 --- a/bosh-director/lib/bosh/director/api/route_configuration.rb +++ b/bosh-director/lib/bosh/director/api/route_configuration.rb @@ -40,6 +40,7 @@ module Bosh...
If user_management isn't configured, default to local.
cloudfoundry_bosh
train
2395164e47d4b684c937c9aec4c585d8837267bf
diff --git a/lib/src/main/java/com/auth0/android/lock/LockActivity.java b/lib/src/main/java/com/auth0/android/lock/LockActivity.java index <HASH>..<HASH> 100644 --- a/lib/src/main/java/com/auth0/android/lock/LockActivity.java +++ b/lib/src/main/java/com/auth0/android/lock/LockActivity.java @@ -437,7 +437,7 @@ public cl...
add missing OTP value to request when verifying OOB
auth0_Lock.Android
train
4c602e93e92135ef3fd1bc36143e7dd3c905f6f4
diff --git a/presto-main/src/main/java/com/facebook/presto/connector/jmx/JmxConnectorFactory.java b/presto-main/src/main/java/com/facebook/presto/connector/jmx/JmxConnectorFactory.java index <HASH>..<HASH> 100644 --- a/presto-main/src/main/java/com/facebook/presto/connector/jmx/JmxConnectorFactory.java +++ b/presto-mai...
Remove usage of NodeInfo from JMX connector
prestodb_presto
train
07f2282ba58bc588aada22d43df3e8d2ee5c0410
diff --git a/lib/create-http-client.js b/lib/create-http-client.js index <HASH>..<HASH> 100644 --- a/lib/create-http-client.js +++ b/lib/create-http-client.js @@ -13,11 +13,12 @@ import rateLimit from './rate-limit' * @prop {string=} host - Alternate host * @prop {Object=} httpAgent - HTTP agent for node * @prop ...
feat( create-http-client): Enable axios proxy
contentful_contentful-sdk-core
train
3134405066d5fba7f8ef07474fe109a16b186c00
diff --git a/lib/surrounded/context.rb b/lib/surrounded/context.rb index <HASH>..<HASH> 100644 --- a/lib/surrounded/context.rb +++ b/lib/surrounded/context.rb @@ -25,8 +25,7 @@ module Surrounded object = Context.modify(object, klass.const_get(role_module_name)) end - roles[role.to_s] ...
manage setting roles in a single method
saturnflyer_surrounded
train
3ddc2dcc123cbfbc80166cf5c1b958f3e9fd64dd
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -10,6 +10,7 @@ setup(name='splinter', author='CobraTeam', author_email='andrewsmedina@gmail.com', packages=find_packages(), + include_package_data=True, test_suite='nose.collector', inst...
add include_package_data to setup
cobrateam_splinter
train
24532e60e0c6d67b3d92c4f5a686f763d832a88b
diff --git a/lib/jpmobile/request_with_mobile.rb b/lib/jpmobile/request_with_mobile.rb index <HASH>..<HASH> 100644 --- a/lib/jpmobile/request_with_mobile.rb +++ b/lib/jpmobile/request_with_mobile.rb @@ -36,6 +36,11 @@ module Jpmobile mobile and mobile.smart_phone? end + # タブレットからであれば +true+を、そうでなければ +f...
Add the function that devides tablets or others
jpmobile_jpmobile
train
bc4daf9ddd3499ecab750f70aa6513ad0fcb1ade
diff --git a/spec/lyber_core/destroyer_spec.rb b/spec/lyber_core/destroyer_spec.rb index <HASH>..<HASH> 100644 --- a/spec/lyber_core/destroyer_spec.rb +++ b/spec/lyber_core/destroyer_spec.rb @@ -7,8 +7,7 @@ describe LyberCore::Destroyer do before :all do FakeWeb.allow_net_connect = false fixture_metadata =...
This spec is passing on my laptop but failing on the server. Just trying a few things to figure out why.
sul-dlss_lyber-core
train
4c2b9fb0495ed768286fcd2c4bc247fdb0dfe979
diff --git a/src/PoCProductProjector.php b/src/PoCProductProjector.php index <HASH>..<HASH> 100644 --- a/src/PoCProductProjector.php +++ b/src/PoCProductProjector.php @@ -8,6 +8,7 @@ use Brera\PoC\Product\Product; class PoCProductProjector { + /* TODO: Replace array with RendererCollection */ /** * @var ...
Issue #<I>: Add some TODOs and notes
lizards-and-pumpkins_catalog
train
3c2ddf2c93e155407043a9e9c68e08d38ff63cda
diff --git a/Configuration/TCA/Overrides/tt_content_element_image.php b/Configuration/TCA/Overrides/tt_content_element_image.php index <HASH>..<HASH> 100644 --- a/Configuration/TCA/Overrides/tt_content_element_image.php +++ b/Configuration/TCA/Overrides/tt_content_element_image.php @@ -25,6 +25,7 @@ $GLOBALS['TCA']['tt...
[FEATURE] rearrange settings for images and media assets (#<I>) * [FEATURE] move imagecols on top of image * [FEATURE] move imageblock on top of image * [FEATURE] move imagecols over assets * [FEATURE] move mediablock over assets
benjaminkott_bootstrap_package
train
7580b019c17cc96220174dfc79d507f00ffb2ac3
diff --git a/lib/requester/requester.js b/lib/requester/requester.js index <HASH>..<HASH> 100644 --- a/lib/requester/requester.js +++ b/lib/requester/requester.js @@ -115,6 +115,7 @@ Requester.prototype.request = function (item, cb, scope) { // get the reason phrase codeReason = httpReasons.lookup(r...
added a flag that's set to true if http response reason is overridden
postmanlabs_postman-runtime
train
93712cdacfb150f3c02f8730e3ff9740a4be9a31
diff --git a/lib/tocer/runner.rb b/lib/tocer/runner.rb index <HASH>..<HASH> 100644 --- a/lib/tocer/runner.rb +++ b/lib/tocer/runner.rb @@ -11,7 +11,7 @@ module Tocer @writer = writer end - def call configuration + def call configuration = Configuration::Loader.call Pathname(configuration.root...
Fixed runner to use default configuration Necessary to fall back to the default configuration when none is given.
bkuhlmann_tocer
train
0a1ca685c9e391896be2dd7d565932d6cae10ebd
diff --git a/lib/datapackage/schema.rb b/lib/datapackage/schema.rb index <HASH>..<HASH> 100644 --- a/lib/datapackage/schema.rb +++ b/lib/datapackage/schema.rb @@ -39,7 +39,7 @@ module DataPackage ref_keys.each do |key| path = key.split('/')[0..-2] - replacement = resolve(schema.dig(*path,...
Pass schema to `resolve`
frictionlessdata_datapackage-rb
train
8812be8c800fca84c3dd952deda413a4c23be6bb
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -42,10 +42,21 @@ module.exports = function (robot) { return; } - res.send(response); + try { + res.send(response); + } catch (e) { + console.error(e); + + try { + ...
try hard to send a response, <I>
imsky_pull-review
train
0594d72bee5b41fcc515864b6f3317d9548310b3
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ setup( url='https://github.com/houtianze/bypy', download_url='https://github.com/houtianze/bypy/tarball/' + bypy.__version__, packages=find_packages(), - scripts=['bypy', 'bypy.py', 'bypy.py', 'bypygui.pyw...
Trivial: Correct bypy.bat script in setup.py
houtianze_bypy
train
e83c4f39e83963116d392b34e951c8b8748cfa69
diff --git a/shell-core/src/main/java/org/apache/maven/shell/core/impl/Slf4jLoggerManager.java b/shell-core/src/main/java/org/apache/maven/shell/core/impl/Slf4jLoggerManager.java index <HASH>..<HASH> 100644 --- a/shell-core/src/main/java/org/apache/maven/shell/core/impl/Slf4jLoggerManager.java +++ b/shell-core/src/main...
Bring loggerman back working or not
jdillon_gshell
train
aeacb7b1289ed175187146b947e2dd0e27c37d26
diff --git a/lib/simpletest/testfilterconfig.php b/lib/simpletest/testfilterconfig.php index <HASH>..<HASH> 100644 --- a/lib/simpletest/testfilterconfig.php +++ b/lib/simpletest/testfilterconfig.php @@ -785,6 +785,7 @@ class filter_filter_set_applies_to_strings extends UnitTestCaseUsingDatabase { } public f...
MDL-<I> fix missing global $CFG that was breaking unit test teardown
moodle_moodle
train
cb13ba6582357eee765293bda10909d3e0077b6f
diff --git a/framework/helpers/BaseHtml.php b/framework/helpers/BaseHtml.php index <HASH>..<HASH> 100644 --- a/framework/helpers/BaseHtml.php +++ b/framework/helpers/BaseHtml.php @@ -1167,7 +1167,7 @@ class BaseHtml $options['uncheck'] = '0'; } - $checked = ($value !== $options['uncheck']); + $checked = ($va...
A bit less stricter check as suggested by @qiang: <URL>
yiisoft_yii-core
train
a259475b3ba68e8990da0aea6eb0fe3e3ad982f0
diff --git a/src/Command/AbstractGSheetToXmlCommand.php b/src/Command/AbstractGSheetToXmlCommand.php index <HASH>..<HASH> 100644 --- a/src/Command/AbstractGSheetToXmlCommand.php +++ b/src/Command/AbstractGSheetToXmlCommand.php @@ -11,7 +11,6 @@ namespace XmlSquad\GsheetXml\Command; use Exception; use Symfony\Componen...
Renamed and wrap drive-url in config and get methods. Renamed to make it clear it is an argument and not an option. So, they can be defined in abstract and used by other commands to add a little consistency to the suite of commands. See: <URL>
xmlsquad_gsheet-to-xml
train
594f28d36c19a51ff73f91ca794fb575f781ccb9
diff --git a/topdown/eval.go b/topdown/eval.go index <HASH>..<HASH> 100644 --- a/topdown/eval.go +++ b/topdown/eval.go @@ -332,7 +332,7 @@ func (e *eval) evalNot(iter evalIterator) error { } if !defined { - return e.next(iter) + return iter(e) } e.traceFail(expr) @@ -480,7 +480,7 @@ func (e *eval) evalNot...
topdown: Invoke iterator when evaluating negation In `evalNot` when it succeeds we were calling `e.next(..)` to continue evaluation, but if the previous expression was from `evalWith` the original state was not being restored. This caused the patched data to persist for subsequent expression evaluation(s) until `iter(...
open-policy-agent_opa
train
a87715f68851a2937749fdfbb25e639274ae8d2b
diff --git a/core/server/data/fixtures/index.js b/core/server/data/fixtures/index.js index <HASH>..<HASH> 100644 --- a/core/server/data/fixtures/index.js +++ b/core/server/data/fixtures/index.js @@ -92,6 +92,10 @@ populate = function populate() { }); _.each(fixtures.clients, function (client) { + // ...
Fix client.secret for new installs closes #<I> - added random secret for new databases - added temporary fix for existing databases - secret is still static (`not_available`) during tests - fixed fork mechanism to keep active environment (never change NODE_ENV!!!)
TryGhost_Ghost
train
df425f2a4a6598634b2acd62cb685700051ca508
diff --git a/trie/ctrie/ctrie_test.go b/trie/ctrie/ctrie_test.go index <HASH>..<HASH> 100644 --- a/trie/ctrie/ctrie_test.go +++ b/trie/ctrie/ctrie_test.go @@ -293,7 +293,7 @@ func TestIterator(t *testing.T) { close(cancel) // Drain anything already put on the channel. Since select chooses a // pseudo-random case,...
Range over expected in ctrie iterator test
Workiva_go-datastructures
train
7e05d0cd4bb027ae027f7a460d74972df1477d67
diff --git a/lib/io.js b/lib/io.js index <HASH>..<HASH> 100644 --- a/lib/io.js +++ b/lib/io.js @@ -114,6 +114,10 @@ io.on('connection', function(socket) { var db = req.mongo.db(req.params.database_name); createSampleStream(db, req.params.collection_name, req.params.sample_options) + .on('error', ...
minor: pass db operation errors to the client
mongodb-js_scope-server
train
2f60cb921e4d30f6915397d49562323c912a0716
diff --git a/src/services/leafletMarkersHelpers.js b/src/services/leafletMarkersHelpers.js index <HASH>..<HASH> 100644 --- a/src/services/leafletMarkersHelpers.js +++ b/src/services/leafletMarkersHelpers.js @@ -132,10 +132,10 @@ angular.module("leaflet-directive") return; } - ...
Fix issue with autopan for ng-include after review
tombatossals_angular-leaflet-directive
train
ac41a2229d14140cf028a5f974907352862e30c3
diff --git a/test/test_api_state_things.py b/test/test_api_state_things.py index <HASH>..<HASH> 100644 --- a/test/test_api_state_things.py +++ b/test/test_api_state_things.py @@ -407,6 +407,60 @@ class TestThing(testUtils.AbstractTest): del self.appClient.state.active.thingTypes[TestThing.createdTT.id].things[...
Added 3 types to api_state_things.py
ibm-watson-iot_iot-python
train
3548abc1b03a56dca7b600ca5a5bf80216b81edc
diff --git a/tunnel.go b/tunnel.go index <HASH>..<HASH> 100644 --- a/tunnel.go +++ b/tunnel.go @@ -320,7 +320,7 @@ func (api *API) UpdateTunnelConfiguration(ctx context.Context, rc *ResourceConta } uri := fmt.Sprintf("/accounts/%s/cfd_tunnel/%s/configurations", rc.Identifier, params.TunnelID) - res, err := api.ma...
Add `config` to body of UpdateTunnelConfiguration
cloudflare_cloudflare-go
train
1befa12550c9035ef468091ce72a4dc4504d1281
diff --git a/lib/smpp/receiver.rb b/lib/smpp/receiver.rb index <HASH>..<HASH> 100644 --- a/lib/smpp/receiver.rb +++ b/lib/smpp/receiver.rb @@ -1,16 +1,14 @@ -# The SMPP Transceiver maintains a bidirectional connection to an SMSC. +# The SMPP Receiver maintains a unidirectional connection to an SMSC. # Provide a conf...
Remove methods for sending SMSes. Also change messages, comments, etc to reflect Receiver class.
raykrueger_ruby-smpp
train
16fb85f840af3bfc1fb150abaffec558cc3cb418
diff --git a/pyes/queryset.py b/pyes/queryset.py index <HASH>..<HASH> 100644 --- a/pyes/queryset.py +++ b/pyes/queryset.py @@ -332,7 +332,7 @@ class QuerySet(object): and returning the created object. """ obj = self.model(**kwargs) - meta = obj.get_meta() + meta = obj.get_meta() ...
fixed inconsistent use to QuerySet it would raise an Error under python<I> the line <I>: meta = obj.get_meta() ^ TabError: inconsistent use of tabs and spaces in indentation
aparo_pyes
train
7172ffe83d3a591798e4312ef151f5a6d31e2c59
diff --git a/lib/init.js b/lib/init.js index <HASH>..<HASH> 100644 --- a/lib/init.js +++ b/lib/init.js @@ -75,7 +75,7 @@ module.exports = function(args){ }, // Load plugins load_plugins: ['config', function(next, results){ - if (!results.config) return next(); + if (safe || !results.config) ret...
Don't load plugins in safe mode
hexojs_hexo
train
1a175da7caee975f8010fe676e8da3f95a46f613
diff --git a/lib/Predis/ConnectionParameters.php b/lib/Predis/ConnectionParameters.php index <HASH>..<HASH> 100644 --- a/lib/Predis/ConnectionParameters.php +++ b/lib/Predis/ConnectionParameters.php @@ -118,6 +118,10 @@ class ConnectionParameters implements IConnectionParameters { } public function __isset(...
Predis\ConnectionParameters::__isset() should check if a parameters has been set and its value is not null.
nrk_predis
train
baa78784afad67c2321be64af1d35b4ddf2c75ef
diff --git a/presto-main/src/main/java/com/facebook/presto/sql/planner/optimizations/PropertyDerivations.java b/presto-main/src/main/java/com/facebook/presto/sql/planner/optimizations/PropertyDerivations.java index <HASH>..<HASH> 100644 --- a/presto-main/src/main/java/com/facebook/presto/sql/planner/optimizations/Prope...
Throw exception instead of returning wrong value Returning only input properties for apply node is incorrect as it does not consider subquery properties.
prestodb_presto
train
45d9dfcf7830532f13f2bb4f8243461ea2eca4fd
diff --git a/Module.php b/Module.php index <HASH>..<HASH> 100755 --- a/Module.php +++ b/Module.php @@ -13,7 +13,32 @@ class Module public function getConfig() { - return include "{$this->_moduleBaseDir}/config/module.config.php"; + $config = include("{$this->_moduleBaseDir}/config/module.confi...
Automatically add asset manager and view manager config to module configs
DaemonAlchemist_atp
train
ea287f0ee956e4e9639fde32e494fc0b6c94b1e6
diff --git a/ext.py b/ext.py index <HASH>..<HASH> 100644 --- a/ext.py +++ b/ext.py @@ -44,9 +44,11 @@ def create_logger(verbosity): def build_extension(cmd, verbosity=3): assert cmd in ["asan", "build", "coverage", "debug"] + arch = getattr(sys.implementation, "_multiarch", "unknown") windows = (sys.pla...
Fix PPC build (#<I>)
h2oai_datatable
train
c2d77312b6a2851241d6fa618f65c4ae71e4acad
diff --git a/apps/actor-android/src/main/java/im/actor/messenger/app/fragment/dialogs/DialogsAdapter.java b/apps/actor-android/src/main/java/im/actor/messenger/app/fragment/dialogs/DialogsAdapter.java index <HASH>..<HASH> 100644 --- a/apps/actor-android/src/main/java/im/actor/messenger/app/fragment/dialogs/DialogsAdapt...
feat(common-base): Fixed compilation error
actorapp_actor-platform
train
5bbd0b0547b18130225d4a87c046690685e02d02
diff --git a/lib/mk_time/consts.rb b/lib/mk_time/consts.rb index <HASH>..<HASH> 100644 --- a/lib/mk_time/consts.rb +++ b/lib/mk_time/consts.rb @@ -181,7 +181,8 @@ module MkTime ["20170629", 0.3], ["20171130", 0.2], ["20180315", 0.1], - ["2...
UPD: Added a new DUT1 adjustment to constants.
komasaru_mk_time
train
f5ee606d20ed10360c1072ca9080c6b642110145
diff --git a/src/Schema/Directives/Fields/AuthDirective.php b/src/Schema/Directives/Fields/AuthDirective.php index <HASH>..<HASH> 100644 --- a/src/Schema/Directives/Fields/AuthDirective.php +++ b/src/Schema/Directives/Fields/AuthDirective.php @@ -4,12 +4,29 @@ namespace Nuwave\Lighthouse\Schema\Directives\Fields; us...
Use DI in favour of redefining the auth helper method
nuwave_lighthouse
train
793f2cc6885577e1601b8d47b994b1dd5fca31f5
diff --git a/BAC0/scripts/Lite.py b/BAC0/scripts/Lite.py index <HASH>..<HASH> 100755 --- a/BAC0/scripts/Lite.py +++ b/BAC0/scripts/Lite.py @@ -53,12 +53,19 @@ from ..core.io.IOExceptions import ( UnrecognizedService, Timeout, ) -from ..db.influxdb import InfluxDB + from ..tasks.RecurringTask import Recurrin...
Prevents app from failing if influxdb_client is not installed
ChristianTremblay_BAC0
train
95d5450a7f7e39f133a725614c9e4515bec61368
diff --git a/lxd/warnings/warnings.go b/lxd/warnings/warnings.go index <HASH>..<HASH> 100644 --- a/lxd/warnings/warnings.go +++ b/lxd/warnings/warnings.go @@ -213,3 +213,54 @@ func DeleteWarningsByLocalNodeAndProjectAndEntity(cluster *db.Cluster, projectNa return DeleteWarningsByNodeAndProjectAndEntity(cluster, loc...
lxd/warnings: Add more delete functions
lxc_lxd
train
01fe005d0aa1774d173c5acfee35238f845fcd43
diff --git a/Request/ParamConverter/DoctrineParamConverter.php b/Request/ParamConverter/DoctrineParamConverter.php index <HASH>..<HASH> 100644 --- a/Request/ParamConverter/DoctrineParamConverter.php +++ b/Request/ParamConverter/DoctrineParamConverter.php @@ -36,7 +36,7 @@ class DoctrineParamConverter implements ParamCo...
Added ability to ignore null request attributes
sensiolabs_SensioFrameworkExtraBundle
train
9d7c6b6954552a7011a76c846bcfc26628d0a78d
diff --git a/tests/ExampleField.php b/tests/ExampleField.php index <HASH>..<HASH> 100644 --- a/tests/ExampleField.php +++ b/tests/ExampleField.php @@ -43,6 +43,8 @@ class ExampleField extends Example $value = $property->proceed(); echo "Calling Around Interceptor for field: ",...
More debug info, add one more interceptor to test chain
goaop_framework
train
c519bfdb31d090c2d0a74ca65e9c0efc49324d94
diff --git a/test/Test/Net/Bazzline/Component/Csv/AbstractTestCase.php b/test/Test/Net/Bazzline/Component/Csv/AbstractTestCase.php index <HASH>..<HASH> 100644 --- a/test/Test/Net/Bazzline/Component/Csv/AbstractTestCase.php +++ b/test/Test/Net/Bazzline/Component/Csv/AbstractTestCase.php @@ -100,4 +100,12 @@ abstract cla...
implemented switch to php <I>
bazzline_php_component_csv
train
f14b5fe602bcb620a228a68060fa1fc551a950fc
diff --git a/cmsplugin_cascade/sphinx/cms_apps.py b/cmsplugin_cascade/sphinx/cms_apps.py index <HASH>..<HASH> 100644 --- a/cmsplugin_cascade/sphinx/cms_apps.py +++ b/cmsplugin_cascade/sphinx/cms_apps.py @@ -50,5 +50,5 @@ class SphinxDocsApp(CMSApp): def get_urls(self, page=None, language=None, **kwargs): ...
always append slash to docs-URL
jrief_djangocms-cascade
train
c35662b667cde4ac74f114e317e787aea97e0f8c
diff --git a/test/e2e/upgrades/daemonsets.go b/test/e2e/upgrades/daemonsets.go index <HASH>..<HASH> 100644 --- a/test/e2e/upgrades/daemonsets.go +++ b/test/e2e/upgrades/daemonsets.go @@ -36,7 +36,7 @@ type DaemonSetUpgradeTest struct { daemonSet *extensions.DaemonSet } -func (DaemonSetUpgradeTest) Name() string { ...
add [sig-apps] identifier to relevant upgrade tests
kubernetes_kubernetes
train
9390141ae9620b4767bad6911df61fd12f0cc47c
diff --git a/lib/rails_admin/config/fields/base.rb b/lib/rails_admin/config/fields/base.rb index <HASH>..<HASH> 100644 --- a/lib/rails_admin/config/fields/base.rb +++ b/lib/rails_admin/config/fields/base.rb @@ -178,7 +178,7 @@ module RailsAdmin register_instance_option(:required?) do @required ||= b...
options[:allow_nil] is not always present in rails <I>
sferik_rails_admin
train
287f12807512577395a264365a6acabfeb1b71dd
diff --git a/src/components/input-checkbox/input-checkbox.component.js b/src/components/input-checkbox/input-checkbox.component.js index <HASH>..<HASH> 100644 --- a/src/components/input-checkbox/input-checkbox.component.js +++ b/src/components/input-checkbox/input-checkbox.component.js @@ -1,6 +1,6 @@ import React fro...
refactor components update the components to use the refactored decorators
luetkemj_aglet-components
train
68efb250d2d617a342d6cdc95fca68957ae6e8d3
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -5,18 +5,20 @@ module.exports = { included(appOrAddon) { let app = appOrAddon.app || appOrAddon; - if (!app.__emberBasicDropdownIncludedInvoked) { - app.__emberBasicDropdownIncludedInvoked = true; + if (ap...
Always call _super.included (#<I>)
cibernox_ember-basic-dropdown
train
60c32e2109206fcbb336498bc0d1e7f644a8b6da
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/PropertiesAnimation.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/PropertiesAnimation.java index <HASH>..<HASH> 100755 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/PropertiesAnimation.java +++ ...
fix for issue <I> and <I>
ArcBees_gwtquery
train
fe2f512bebfb3b01bfff3ae7db6885221baa6e70
diff --git a/app/sse.js b/app/sse.js index <HASH>..<HASH> 100644 --- a/app/sse.js +++ b/app/sse.js @@ -13,12 +13,13 @@ exports.initStream = function(req, res, closeCb){ res.write('data: \n\n'); var handle = setInterval(function() { - res.write('\n'); + if(!res.finished) + res.write('\n'); }, 30 * ...
Added response.finished guard to server sent events
JacobeanRnD_expresscion
train
fb1d21c0dad9e4048ddc7fabe83c948012c55a61
diff --git a/src/kff.PageView.js b/src/kff.PageView.js index <HASH>..<HASH> 100644 --- a/src/kff.PageView.js +++ b/src/kff.PageView.js @@ -2,7 +2,6 @@ kff.PageView = kff.createClass( { extend: kff.View, - mixins: kff.EventsMixin, statics: { precedingView: null, @@ -46,57 +45,6 @@ kff.PageView = kff.createCla...
refactor(kff.PageView): remove overloaded Page methods previously used for async rendering
karfcz_kff
train
2b0ca0237fba3cdb4dc6b5399cc9700b99e0c028
diff --git a/filer/fields/multistorage_file.py b/filer/fields/multistorage_file.py index <HASH>..<HASH> 100644 --- a/filer/fields/multistorage_file.py +++ b/filer/fields/multistorage_file.py @@ -1,9 +1,9 @@ #-*- coding: utf-8 -*- -import os import base64 import hashlib import warnings from io import BytesIO +from ...
Rebased PR#<I> from rollstudio to the latest develop branch, b<I>
divio_django-filer
train
c409ec838b8d43a0bf0c184dc3c07ac5f817b45f
diff --git a/CHANGELOG.md b/CHANGELOG.md index <HASH>..<HASH> 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,8 @@ ### Change log for autoNumeric: ### "2.0.0-beta.18" -+ Fix issue #330 The `negativePositiveSignPlacement` option can be ignored in some cases ++ Fix issue #330 The `negativePositiveSig...
Fix issue #<I> `get` returns `'0'` when the input is empty even if `emptyInputBehavior` is not equal to `'zero'`
autoNumeric_autoNumeric
train
60e408ae0b31abd5ce757da4d4bc87e5a8bd3a2e
diff --git a/spec/reel/websocket_spec.rb b/spec/reel/websocket_spec.rb index <HASH>..<HASH> 100644 --- a/spec/reel/websocket_spec.rb +++ b/spec/reel/websocket_spec.rb @@ -61,12 +61,11 @@ RSpec.describe Reel::WebSocket do describe "WebSocket#next_message" do it "triggers on the next sent message" do - ski...
Updated web socket specs to new Celluloid internal APIs
celluloid_reel
train
8df16383e0565713860fe39b61eb203cfd83d00a
diff --git a/lib/ronin/platform/overlay.rb b/lib/ronin/platform/overlay.rb index <HASH>..<HASH> 100644 --- a/lib/ronin/platform/overlay.rb +++ b/lib/ronin/platform/overlay.rb @@ -246,13 +246,16 @@ module Ronin raise(OverlayCached,"An overlay at the path #{path.dump} was already added",caller) end ...
Oops, forgot to save the overlay.
ronin-ruby_ronin
train
8b3e56944cd21cf9a01094e96df8ff80780e2fa7
diff --git a/chatbot/__init__.py b/chatbot/__init__.py index <HASH>..<HASH> 100644 --- a/chatbot/__init__.py +++ b/chatbot/__init__.py @@ -167,7 +167,7 @@ class Chat(object): self._normalizer_regex = self._compile_reflections(normalizer) self.__process_learn(default_pairs) self.__process_lear...
'Refactored by Sourcery'
ahmadfaizalbh_Chatbot
train
c38a146497858043742299af3c45a69b2438cf6e
diff --git a/app/src/scripts/utils/google.js b/app/src/scripts/utils/google.js index <HASH>..<HASH> 100644 --- a/app/src/scripts/utils/google.js +++ b/app/src/scripts/utils/google.js @@ -35,6 +35,9 @@ let google = { .then(() => { this.getCurrentUser(callback) }) + .catch(err => { + ...
Prevent a hang when refresh tokens fail during login.
OpenNeuroOrg_openneuro
train
6475c246132158c60deae166f0e2ddeaf55707df
diff --git a/test/config/gemfiles/common.rb b/test/config/gemfiles/common.rb index <HASH>..<HASH> 100644 --- a/test/config/gemfiles/common.rb +++ b/test/config/gemfiles/common.rb @@ -1,5 +1,5 @@ def declare_gems(activerecord_version) - source :rubygems + source "https://rubygems.org" gem 'activerecord', activer...
Use https for rubygems here, too
activewarehouse_activewarehouse-etl
train
08e9ca0ac4f29d891f78f6f585eb622c1ea06264
diff --git a/README.markdown b/README.markdown index <HASH>..<HASH> 100644 --- a/README.markdown +++ b/README.markdown @@ -29,6 +29,10 @@ Buzz provides packages for connecting to third party APIs easily. use Buzz\Service\RightScale; $rightscale = new RightScale\API(); - $deployment = $rightscale->getDepl...
Updated README and added some RightScript goodness.
kriswallsmith_Buzz
train
03241b0fad89be13e83a89403628cb186408fdd9
diff --git a/lib/reel/connection.rb b/lib/reel/connection.rb index <HASH>..<HASH> 100644 --- a/lib/reel/connection.rb +++ b/lib/reel/connection.rb @@ -9,7 +9,8 @@ module Reel KEEP_ALIVE = 'Keep-Alive'.freeze CLOSE = 'close'.freeze - attr_reader :socket, :parser + attr_reader :so...
Remove response writing thunks into Reel::Request The Request object should keep track of its associated response, not the connection. This should make pipelining cleaner. We should still factor the connection state machine into its own class.
celluloid_reel
train
569d2b1787be36f79475a5ea937e050a8a7386d4
diff --git a/core/src/test/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLUpdateTest.java b/core/src/test/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLUpdateTest.java index <HASH>..<HASH> 100644 --- a/core/src/test/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLUpdateTest....
Adds unit tests for named parameters containing strings with quotes.
orientechnologies_orientdb
train
ed5ffc5290ec207fd88520dd78b60733c81d1d33
diff --git a/pgmpy/__init__.py b/pgmpy/__init__.py index <HASH>..<HASH> 100644 --- a/pgmpy/__init__.py +++ b/pgmpy/__init__.py @@ -1,7 +1,9 @@ from . import BayesianModel from . import Exceptions from . import Factor +from . import readwrite __all__ = ['BayesianModel', 'Exceptions', - 'Facto...
__init__.py modified to include readwrite module
pgmpy_pgmpy
train
8332472a4c958281096b1388fe662c8b0a89d7c1
diff --git a/tests/test_mission_data.py b/tests/test_mission_data.py index <HASH>..<HASH> 100644 --- a/tests/test_mission_data.py +++ b/tests/test_mission_data.py @@ -2,6 +2,7 @@ import os from planetaryimage.pds3image import PDS3Image import json import pytest +import pvl DATA_DIR = os.path.join(os.path.dirnam...
Fixed exception so only breaks on AssertionError
planetarypy_planetaryimage
train
ee608a36b6c125bd7352425cae0b730188f62ae3
diff --git a/lib/client.js b/lib/client.js index <HASH>..<HASH> 100644 --- a/lib/client.js +++ b/lib/client.js @@ -97,8 +97,9 @@ Client.prototype._invoke = function(method, arguments, location, callback) { encoding = '', message = '', xml = null, + soapAction = this.SOAPAction ? this.S...
fallback to old soapAction code if method.soapAction is undefined
vpulim_node-soap
train