hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
cc621e2c0687ceaad9e498f271947790c4b334a3
diff --git a/pyeapi/api/interfaces.py b/pyeapi/api/interfaces.py index <HASH>..<HASH> 100644 --- a/pyeapi/api/interfaces.py +++ b/pyeapi/api/interfaces.py @@ -710,6 +710,8 @@ class VxlanInterface(BaseInterface): * udp_port (int): The vxlan udp-port value * vlans (dict): The vlan to vni mapping...
update the regex in _parse_multicast and add support for multicast-group decap
arista-eosplus_pyeapi
train
150a40baee5450976d39532cfc55866d633a65e9
diff --git a/src/Property/EnumProperty.php b/src/Property/EnumProperty.php index <HASH>..<HASH> 100644 --- a/src/Property/EnumProperty.php +++ b/src/Property/EnumProperty.php @@ -39,14 +39,8 @@ class EnumProperty extends Property public function validate($value) { foreach ($this->allowedTypes as $typ...
refactored enum property.
shrink0r_php-schema
train
4e7ff690c6311dcf1e8882194e626014fc2bcccb
diff --git a/src/Composer/Command/RequireCommand.php b/src/Composer/Command/RequireCommand.php index <HASH>..<HASH> 100644 --- a/src/Composer/Command/RequireCommand.php +++ b/src/Composer/Command/RequireCommand.php @@ -42,6 +42,10 @@ class RequireCommand extends InitCommand private $json; private $file; ...
Revert lock file as well when a require command operation failed to complete
composer_composer
train
ea275814b020444f88af670f5bb8a084fa549b65
diff --git a/runtests.py b/runtests.py index <HASH>..<HASH> 100755 --- a/runtests.py +++ b/runtests.py @@ -18,6 +18,13 @@ if django.VERSION[:2] < (1, 5): } } +if django.VERSION[:2] >= (1, 10): + opts['TEMPLATES'] = [ + { + 'BACKEND': 'django.template.backends.django.DjangoTemplates'...
Tests support django <I>
jazzband_django-widget-tweaks
train
7065abeb231f3d35c58c5d79633b0f514ed27814
diff --git a/externs/es3.js b/externs/es3.js index <HASH>..<HASH> 100644 --- a/externs/es3.js +++ b/externs/es3.js @@ -515,7 +515,7 @@ Array.prototype.shift = function() {}; * @param {*=} opt_end Zero-based index at which to end extraction. slice * extracts up to but not including end. * @return {!Array.<T>}...
Added 'string' to the types allowed by @this for non-mutating Array.prototype methods. For example, this allows Array.prototype.reduce.call('hello', function(x, y) {return y + x;}) to pass type-checking as it should. ------------- Created by MOE: <URL>
google_closure-compiler
train
5576e7669d6b6fecb55759a3946bdd2f3027ae3b
diff --git a/lib/Widget/Counter.php b/lib/Widget/Counter.php index <HASH>..<HASH> 100644 --- a/lib/Widget/Counter.php +++ b/lib/Widget/Counter.php @@ -12,30 +12,54 @@ namespace Widget; * A counter widget * * @author Twin Huang <twinhuang@qq.com> + * @property Cache $cache A cache service */ class Count...
addded incr, decr, get & set method for counter service
twinh_wei
train
6febc30f1d53be319fc86cee545f25ded1b22411
diff --git a/lib/user_input/type_safe_hash.rb b/lib/user_input/type_safe_hash.rb index <HASH>..<HASH> 100644 --- a/lib/user_input/type_safe_hash.rb +++ b/lib/user_input/type_safe_hash.rb @@ -88,7 +88,7 @@ module UserInput def has_key?(key) return real_hash.has_key?(key) end - alias :include :has_key? + alia...
Type: include should have been include?
stormbrew_user_input
train
c45773466a30b680355d6494cc8826113c93cd0f
diff --git a/api.go b/api.go index <HASH>..<HASH> 100644 --- a/api.go +++ b/api.go @@ -57,7 +57,6 @@ func Init() error { tios.Iflag &^= syscall_IGNBRK | syscall_BRKINT | syscall_PARMRK | syscall_ISTRIP | syscall_INLCR | syscall_IGNCR | syscall_ICRNL | syscall_IXON - tios.Oflag &^= syscall_OPOST tios.Lflag &^=...
Remove OPOST flag. It's some implementation-defined output processing. No need for it I think. Fixes #<I>.
nsf_termbox-go
train
ed9396b385e9f5b262eb0289f69630893b7f72c1
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -89,6 +89,7 @@ setup( version="2019.7.2", cmdclass={'build_ext': build_ext}, setup_requires=['numpy>=1.14.3', 'setuptools>=18.0'], + python_requires='>=3.6', install_requires=["numpy>=1.14.3", "requests"...
Add minimum Python version to setup.py
materialsproject_pymatgen
train
8a304d59fef7c3e1fc5d98170349c724f1e582f0
diff --git a/core/src/main/java/hudson/model/Run.java b/core/src/main/java/hudson/model/Run.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/hudson/model/Run.java +++ b/core/src/main/java/hudson/model/Run.java @@ -138,7 +138,7 @@ public abstract class Run <JobT extends Job<JobT,RunT>,RunT extends Run<JobT,Run ...
Incorrect code rejected by JDK 7's javac (and NB's editor). <URL>
jenkinsci_jenkins
train
c5ee26b7a778c424f74d7be5aed9b2de3a9ddbe6
diff --git a/fapi/Forms/Checkbox.php b/fapi/Forms/Checkbox.php index <HASH>..<HASH> 100755 --- a/fapi/Forms/Checkbox.php +++ b/fapi/Forms/Checkbox.php @@ -28,6 +28,10 @@ include_once "Field.php"; */ class Checkbox extends Field { + + protected $checkedValue; + + /** * Constructor for the checkbox. * @@ -4...
Fixed slight problem with CheckBox class. I am now getting this stuff ready for possibly a first public release. I need to work out the database abstraction layer. Get good documentation and some tutorials to go with it and I think everybody would be happy. git-svn-id: <URL>
ntentan_ntentan
train
bec4be700a38ebb65b64e6cf9e1f8164fdc20e9f
diff --git a/lib/shadow_puppet/manifest.rb b/lib/shadow_puppet/manifest.rb index <HASH>..<HASH> 100644 --- a/lib/shadow_puppet/manifest.rb +++ b/lib/shadow_puppet/manifest.rb @@ -316,11 +316,11 @@ module ShadowPuppet Puppet::Parser::Resource::Reference.new(type.name.to_s.capitalize, name.to_s) end - # ...
Only set an exec's :path attribute if we didn't pass one in to the params.
railsmachine_shadow_puppet
train
90b31e4af09c686ee26355ea4c8a1477ff617708
diff --git a/test/terms_test.rb b/test/terms_test.rb index <HASH>..<HASH> 100644 --- a/test/terms_test.rb +++ b/test/terms_test.rb @@ -76,6 +76,7 @@ class EverypoliticianTest < Minitest::Test af = Everypolitician.country(slug: 'Albania').legislature(slug: 'Assembly') term = af.latest_term assert_in...
update latest_term test to make sure we have correct id
everypolitician_everypolitician-ruby
train
4fbb7d1f290eaf3562b9ed33047b5b5fd7c21308
diff --git a/modeldict/__init__.py b/modeldict/__init__.py index <HASH>..<HASH> 100644 --- a/modeldict/__init__.py +++ b/modeldict/__init__.py @@ -144,16 +144,18 @@ class ModelDict(local): self._populate(reset=True) def _post_save(self, sender, instance, created, **kwargs): + # HACK: Don't popula...
Fix some odd behavior with save/delete
disqus_durabledict
train
5b8734f24c24ee5c147b9924efcb7abff1d36980
diff --git a/src/core/lib/pick-layers.js b/src/core/lib/pick-layers.js index <HASH>..<HASH> 100644 --- a/src/core/lib/pick-layers.js +++ b/src/core/lib/pick-layers.js @@ -252,7 +252,7 @@ function getPickedColors(gl, { } drawPickingBuffer(gl, { - layers: pickableLayers, + layers, viewports, onVie...
Fix picking when rendereing pickable and non-pickable layers (#<I>)
uber_deck.gl
train
4561bda99fd5a9561ad943dd578ab5629ff615a9
diff --git a/schema.json b/schema.json index <HASH>..<HASH> 100644 --- a/schema.json +++ b/schema.json @@ -11,6 +11,64 @@ "types": [ { "kind": "OBJECT", + "name": "Checkout", + "description": null, + "fields": [ + { + "name": "shippingAddress...
Add check to only add refetch query if the node is not null
Shopify_graphql-js-client
train
876e089ae53eaef3d6b731cf1b73a57e429a565e
diff --git a/goon_test.go b/goon_test.go index <HASH>..<HASH> 100644 --- a/goon_test.go +++ b/goon_test.go @@ -1921,7 +1921,7 @@ func TestRace(t *testing.T) { // in case of datastore failure errInternalCall := errors.New("internal call error") - withErrorContext := func (ctx context.Context, multiLimit int) conte...
Tests for #<I>, to make sure PutMulti returns correct auto-generated keys.
mjibson_goon
train
91aec7f545b61094517f2dd47b77c3e93fb87b51
diff --git a/lib/osc-ruby/message.rb b/lib/osc-ruby/message.rb index <HASH>..<HASH> 100644 --- a/lib/osc-ruby/message.rb +++ b/lib/osc-ruby/message.rb @@ -1,7 +1,5 @@ -require File.join( File.dirname( __FILE__ ), "packet" ) - module OSC - class Message < Packet + class Message attr_accessor :address attr_a...
message doesn't need to inherit from packet
aberant_osc-ruby
train
f2d0bb46926685ede00068dedf3f33a1682ab8a5
diff --git a/cephfs/command.go b/cephfs/command.go index <HASH>..<HASH> 100644 --- a/cephfs/command.go +++ b/cephfs/command.go @@ -10,6 +10,8 @@ import "C" import ( "unsafe" + + "github.com/ceph/go-ceph/internal/cutil" ) // MdsCommand sends commands to the specified MDS. @@ -36,51 +38,22 @@ func (mount *MountI...
cephfs: replace copy-n-paste *_command functions argument handling Similar to the functions in the rados pkg, cephfs package has a function MdsCommand that is mostly boilerplate that to set up the C function's arguments. Replace it with the types from the new cutil internal package.
ceph_go-ceph
train
323d22cfcfc1fd7db6988d9f2e61baaa39722256
diff --git a/src/Raekke/WorkerManager.php b/src/Raekke/WorkerManager.php index <HASH>..<HASH> 100644 --- a/src/Raekke/WorkerManager.php +++ b/src/Raekke/WorkerManager.php @@ -15,11 +15,13 @@ class WorkerManager public function register($name, $service) { - $this->services[$name] = $service; + ...
Lowercase MessageNames to reduce possibility of failure
bernardphp_bernard
train
4afbba71fe52fea1fd95a79ecabbc21dba5e6994
diff --git a/tools/get-assets.php b/tools/get-assets.php index <HASH>..<HASH> 100644 --- a/tools/get-assets.php +++ b/tools/get-assets.php @@ -1,6 +1,6 @@ <?php -include '../vendor/autoload.php'; +include 'vendor/autoload.php'; class GetAssets extends \atk4\ui\App { public $always_run = false; @@ -8,7 +8,7 @@...
more straighforward, call from parent folder now
atk4_ui
train
9c2aaebca379f572091cfd6755b0eade2a32f6a8
diff --git a/blockstack_cli_0.14.1/blockstack_client/user.py b/blockstack_cli_0.14.1/blockstack_client/user.py index <HASH>..<HASH> 100644 --- a/blockstack_cli_0.14.1/blockstack_client/user.py +++ b/blockstack_cli_0.14.1/blockstack_client/user.py @@ -470,7 +470,8 @@ def get_immutable_data_hash( user_zonefile, data_id )...
bugfix from @pandu.rao: include *all* immutable data hashes when traversing the zonefile for them
blockstack_blockstack-core
train
6fa0879f6e38639cdab462e60780fc54069d8fac
diff --git a/niworkflows/reports/core.py b/niworkflows/reports/core.py index <HASH>..<HASH> 100644 --- a/niworkflows/reports/core.py +++ b/niworkflows/reports/core.py @@ -138,7 +138,7 @@ class Reportlet(Element): raise RuntimeError("Reportlet must have a config object") self.name = config.get( -...
RF: apply changes from @oesteban review
poldracklab_niworkflows
train
1b99920c63df67c536351422732ebe712a462f51
diff --git a/CHANGES.rst b/CHANGES.rst index <HASH>..<HASH> 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -4,6 +4,8 @@ CHANGES tip (unreleased) ---------------- +* BACKWARDS-INCOMPATIBLE: Dropped support for Python 2.5 and Django 1.3. + 1.1.0 (2013.04.26) ------------------ diff --git a/markitup/urls.py b/marki...
Update tox.ini for newer Django versions; drop Python <I> and Django <I>.
zsiciarz_django-markitup
train
b62835363a08d6b14dfee655389261575baca8ee
diff --git a/server/client.go b/server/client.go index <HASH>..<HASH> 100644 --- a/server/client.go +++ b/server/client.go @@ -50,7 +50,8 @@ type client struct { parseState stats - route *route + route *route + sendLocalSubs bool } func (c *client) String() (id string) { diff --git a/server/route.go b...
Fix possible non-propagation of subscription interest to routed server. If processRoute executes before createRoute finishes registering the route, and before a subscriber has connected (or reconnected), and the subscriber connects (or reconnects) before the route is registered, then this subscription will stay local ...
nats-io_gnatsd
train
91aaf93cec0bbe1ff937d946fee383de45ed2ed0
diff --git a/library/modules/es5.js b/library/modules/es5.js index <HASH>..<HASH> 100644 --- a/library/modules/es5.js +++ b/library/modules/es5.js @@ -262,7 +262,8 @@ function lz(num){ // 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString() // PhantomJS and old webkit had a broken Date implementation. var date =...
toISOString: should throw on non-finite, old Android (?) fix
zloirock_core-js
train
981966308095f68542e9caa1c1022953644d360f
diff --git a/pypet/tests/hdf5_storage_test.py b/pypet/tests/hdf5_storage_test.py index <HASH>..<HASH> 100644 --- a/pypet/tests/hdf5_storage_test.py +++ b/pypet/tests/hdf5_storage_test.py @@ -238,6 +238,8 @@ class StorageTest(TrajectoryComparator): self.assertTrue(row['results_per_run']==19) self.asser...
Forgot to close hdf5 file in a test
SmokinCaterpillar_pypet
train
0573c8ed6285dc8128d248e4f366ac09d114d874
diff --git a/src/commons/optimistic-mutator.js b/src/commons/optimistic-mutator.js index <HASH>..<HASH> 100755 --- a/src/commons/optimistic-mutator.js +++ b/src/commons/optimistic-mutator.js @@ -3,8 +3,8 @@ Forked from feathers-memory/src/index.js */ import Proto from 'uberproto'; -import filter from 'feathers-...
Enhanced optimistic mutator to gen missing uuid on create
feathers-plus_feathers-offline-realtime
train
e0ee4198ab44cbf8082d51c0dfc6721a80d15a7e
diff --git a/chess/__init__.py b/chess/__init__.py index <HASH>..<HASH> 100644 --- a/chess/__init__.py +++ b/chess/__init__.py @@ -732,6 +732,14 @@ class Move(object): else: return hash(self.to_square ^ self.from_square << 6) + def __copy__(self): + return type(self)(self.from_square, ...
Speed-up deepcopying of moves
niklasf_python-chess
train
6d193f0e68fbf9cac6b850ddbc87abfac28bdd7a
diff --git a/src/ui/component.js b/src/ui/component.js index <HASH>..<HASH> 100644 --- a/src/ui/component.js +++ b/src/ui/component.js @@ -30,7 +30,7 @@ export default class IroComponent extends Component { } // More info on handleEvent: - // http://download-cdn.miitomo.com/native/20180125111639/manifests/v2_2...
fix an incorrect link in a comment (doesn't affect code)
jaames_iro.js
train
a1ec010d494355fe7212356369fda684a3f8aa96
diff --git a/lock/src/main/java/com/auth0/android/lock/Lock.java b/lock/src/main/java/com/auth0/android/lock/Lock.java index <HASH>..<HASH> 100644 --- a/lock/src/main/java/com/auth0/android/lock/Lock.java +++ b/lock/src/main/java/com/auth0/android/lock/Lock.java @@ -41,9 +41,9 @@ public class Lock { } }; ...
store callback on Lock instance. generate lockIntent
auth0_Lock.Android
train
c9c667bbf237c5421f01bf68f3f81ccfc9ed59f0
diff --git a/pilot.go b/pilot.go index <HASH>..<HASH> 100644 --- a/pilot.go +++ b/pilot.go @@ -141,9 +141,10 @@ var _ autopilot.ChannelController = (*chanController)(nil) func initAutoPilot(svr *server, cfg *autoPilotConfig, chainCfg *chainConfig) ( *autopilot.ManagerCfg, error) { - atplLog.Infof("Instantiating au...
pilot: log whether autopilot is active at startup
lightningnetwork_lnd
train
27a3f8e921d316f88ae9de5974f3891f284cb2dc
diff --git a/odl/solvers/functional/default_functionals.py b/odl/solvers/functional/default_functionals.py index <HASH>..<HASH> 100644 --- a/odl/solvers/functional/default_functionals.py +++ b/odl/solvers/functional/default_functionals.py @@ -2134,13 +2134,13 @@ class MoreauEnvelope(Functional): [\\nabla \math...
MAINT: Style fixes to MoreauEnvelope
odlgroup_odl
train
61661b1c46fafeabf1bdbc4778762831d7178d91
diff --git a/lib/puppet/indirector/node/ldap.rb b/lib/puppet/indirector/node/ldap.rb index <HASH>..<HASH> 100644 --- a/lib/puppet/indirector/node/ldap.rb +++ b/lib/puppet/indirector/node/ldap.rb @@ -103,6 +103,8 @@ class Puppet::Node::Ldap < Puppet::Indirector::Ldap end end + result[:para...
Fixing #<I> - ldap booleans get converted to booleans
puppetlabs_puppet
train
1bdec9d4fdc9406f4acacba5418c5dbab270b6ac
diff --git a/ui/app/build-configs/directives/pnc-create-build-config-button/pncCreateBuildConfigButton.js b/ui/app/build-configs/directives/pnc-create-build-config-button/pncCreateBuildConfigButton.js index <HASH>..<HASH> 100644 --- a/ui/app/build-configs/directives/pnc-create-build-config-button/pncCreateBuildConfigBu...
NCL-<I> Add minification support
project-ncl_pnc
train
e2f7a1500dcd66d2b534ff8e38f47edc3f3ac99d
diff --git a/moto/firehose/models.py b/moto/firehose/models.py index <HASH>..<HASH> 100644 --- a/moto/firehose/models.py +++ b/moto/firehose/models.py @@ -16,7 +16,7 @@ Incomplete list of unfinished items: - put_record(), put_record_batch() always set "Encrypted" to False. """ from base64 import b64decode, b64enco...
Firehose timestamps need a timezone or a 'Z' at the end (#<I>)
spulec_moto
train
fe66a1efb2d287b29f4692ad8af8629b1b0c9c2d
diff --git a/go/bson/marshal.go b/go/bson/marshal.go index <HASH>..<HASH> 100644 --- a/go/bson/marshal.go +++ b/go/bson/marshal.go @@ -181,15 +181,9 @@ func encodeField(buf *bytes2.ChunkedWriter, key string, val reflect.Value) { encodeStruct(buf, key, val) } case reflect.Map: - if val.IsNil() { - EncodePref...
bson: undo all Null changes till clients are changed
vitessio_vitess
train
a2fc5ed8067e622f5fb8321b5dc120431253991d
diff --git a/pyqode/core/widgets/output_window.py b/pyqode/core/widgets/output_window.py index <HASH>..<HASH> 100644 --- a/pyqode/core/widgets/output_window.py +++ b/pyqode/core/widgets/output_window.py @@ -972,10 +972,15 @@ class BufferedInputHandler(InputHandler): """ Insert command by replacing the...
Handle Shit or Control + backspace as expected
pyQode_pyqode.core
train
9e87029c5f4e152d7ed37e5d43d9589bb68495ca
diff --git a/src/websocket.js b/src/websocket.js index <HASH>..<HASH> 100644 --- a/src/websocket.js +++ b/src/websocket.js @@ -101,6 +101,7 @@ class WebSocket extends EventTarget { console.error(`WebSocket connection to '${this.url}' failed: HTTP Authentication failed; no valid credentials available`); ...
removing websocket from network bridge if verifyClient fails
thoov_mock-socket
train
789755a89d38a06fdf954b53c58d9da7ccc7ec66
diff --git a/DbalContext.php b/DbalContext.php index <HASH>..<HASH> 100644 --- a/DbalContext.php +++ b/DbalContext.php @@ -182,8 +182,8 @@ class DbalContext implements PsrContext $table->addColumn('redelivered', Type::BOOLEAN, ['notnull' => false]); $table->addColumn('queue', Type::STRING); $...
[BC break][dbal] Change columns type from int to bigint.
php-enqueue_dbal
train
b15a8468caceae0d7bb12cd8c53f7db2ad374cd4
diff --git a/modules/ScrollManagementMixin.js b/modules/ScrollManagementMixin.js index <HASH>..<HASH> 100644 --- a/modules/ScrollManagementMixin.js +++ b/modules/ScrollManagementMixin.js @@ -12,6 +12,12 @@ function shouldUpdateScrollPosition(state, prevState) { var { location, branch } = state; var { location: pr...
Evaluate if prevLocation is null
taion_rrtr
train
8e12f2f68551cb70e5c814a08067e53ecef6177f
diff --git a/src/extensions/default/StaticServer/node/StaticServerDomain.js b/src/extensions/default/StaticServer/node/StaticServerDomain.js index <HASH>..<HASH> 100644 --- a/src/extensions/default/StaticServer/node/StaticServerDomain.js +++ b/src/extensions/default/StaticServer/node/StaticServerDomain.js @@ -170,13 +1...
remove Content-Length for now. code review comments from @notwebsafe
adobe_brackets
train
21a1deecd13fecadfa47a1906ab9b6e99319e613
diff --git a/lib/ronin/ui/diagnostics.rb b/lib/ronin/ui/diagnostics.rb index <HASH>..<HASH> 100644 --- a/lib/ronin/ui/diagnostics.rb +++ b/lib/ronin/ui/diagnostics.rb @@ -32,9 +32,7 @@ module Ronin # Prints the given _messages_ as info diagnostics. # def print_info(*messages) - if Verbose.en...
Enable print_info and print_error by default.
ronin-ruby_ronin
train
c8a0a51f53e6be5365c90a7de7283d643ad1d980
diff --git a/lib/featurer.rb b/lib/featurer.rb index <HASH>..<HASH> 100644 --- a/lib/featurer.rb +++ b/lib/featurer.rb @@ -12,7 +12,7 @@ module Featurer if const_defined?(:Rails) class Engine < ::Rails::Engine initializer 'featurer:init_adapter' do - Featurer.init! + Featurer.init! unless F...
Do not re-initialize on Rails::Engine
ainformatico_featurer
train
f703b57bcda17eda5cc923928adbf3c6333b22f9
diff --git a/CHANGELOG.md b/CHANGELOG.md index <HASH>..<HASH> 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -75,7 +75,27 @@ Uliweb Change Log ``` to create `a`, `b`, `c` apps at once time. +* Refactor `save_file()` process, add `headers` and `convertors` parameter. + + `headers` used to create csv ...
Refactor `save_file()` process
limodou_uliweb
train
06cb3f41b8767ffa7492e9ea95be59e566cc64d6
diff --git a/internal/testsuite/class_a_test.go b/internal/testsuite/class_a_test.go index <HASH>..<HASH> 100644 --- a/internal/testsuite/class_a_test.go +++ b/internal/testsuite/class_a_test.go @@ -3050,7 +3050,7 @@ func (ts *ClassATestSuite) TestLW11ReceiveWindowSelection() { AssertDownlinkFrame(gw.DownlinkTXInf...
Update tests as <I>MHz in EU<I> allows for <I>dBm.
brocaar_loraserver
train
286fa5cf6134ffd9b2e9078f9c8efd7599381505
diff --git a/danger.gemspec b/danger.gemspec index <HASH>..<HASH> 100644 --- a/danger.gemspec +++ b/danger.gemspec @@ -21,7 +21,7 @@ Gem::Specification.new do |spec| spec.required_ruby_version = ">= 2.0.0" spec.add_runtime_dependency 'claide' - spec.add_runtime_dependency 'rugged' + spec.add_runtime_dependen...
Ensure the commands run with new git, too
danger_danger
train
da9881f2d9d4719a2ed380da886201a39b6b8a24
diff --git a/packages/openneuro-server/datalad/dataset.js b/packages/openneuro-server/datalad/dataset.js index <HASH>..<HASH> 100644 --- a/packages/openneuro-server/datalad/dataset.js +++ b/packages/openneuro-server/datalad/dataset.js @@ -62,24 +62,15 @@ export const giveUploaderPermission = (datasetId, userId) => { /...
Simplify some dataset model operation implementations.
OpenNeuroOrg_openneuro
train
03a21942cf764460ff916a5c324ef940279d7990
diff --git a/message/user.php b/message/user.php index <HASH>..<HASH> 100644 --- a/message/user.php +++ b/message/user.php @@ -58,6 +58,13 @@ scrolling="no" marginwidth="2" marginheight="2"> </frameset> <noframes>Sorry, but support for Frames is required to use Messaging</noframes> + + <...
Old messages are no longer replaced by new messages in the messages pane of the discussion window
moodle_moodle
train
7304fe5c14da7bb8b1e783f429d6104fcd9bfefa
diff --git a/builtin/provisioners/chef/resource_provisioner.go b/builtin/provisioners/chef/resource_provisioner.go index <HASH>..<HASH> 100644 --- a/builtin/provisioners/chef/resource_provisioner.go +++ b/builtin/provisioners/chef/resource_provisioner.go @@ -579,7 +579,7 @@ func (p *Provisioner) configureVaultsFunc( ...
Make sure we add new Chef-Vault clients as clients (#<I>) This is possible using the newly released Chef-Vault <I> gem. Before we could only add new clients as admins. Fixes #<I>
hashicorp_terraform
train
13e5f58c716753d2f00b8ee740c776bff097c917
diff --git a/src/messages/ru/ticket.php b/src/messages/ru/ticket.php index <HASH>..<HASH> 100644 --- a/src/messages/ru/ticket.php +++ b/src/messages/ru/ticket.php @@ -97,6 +97,12 @@ return [ 'Template was deleted successfully' => 'Шаблон был удалён', 'An error occurred when trying to delete a template' => 'Ош...
fixed translations: app -> hipanel
hiqdev_hipanel-module-ticket
train
18df3a5f0819466b2fd55e307caf5b1cf27e02ec
diff --git a/src/Jobs/Form/Job.php b/src/Jobs/Form/Job.php index <HASH>..<HASH> 100644 --- a/src/Jobs/Form/Job.php +++ b/src/Jobs/Form/Job.php @@ -58,7 +58,7 @@ class Job extends WizardContainer { $elements = [ 'general' => [ - 'priority' => 0, + 'priority' => 10...
[Jobs] sets default priorities to the sub forms
yawik_jobs
train
af309eff8163008de62d461d47a7945423721213
diff --git a/openquake/hazardlib/shakemap.py b/openquake/hazardlib/shakemap.py index <HASH>..<HASH> 100644 --- a/openquake/hazardlib/shakemap.py +++ b/openquake/hazardlib/shakemap.py @@ -198,25 +198,24 @@ def cross_correlation_matrix(imts, corr='yes'): assert corr in 'yes no full', corr # if there is only PGA...
ref(shakemap): change order in cross_corr_matrix Refactor if/else order so that all loops and calculations are skipped if corr='no'
gem_oq-engine
train
c348cdda07749ea639ed53021d048a7cf2d8e836
diff --git a/morphia/src/main/java/com/google/code/morphia/DAO.java b/morphia/src/main/java/com/google/code/morphia/DAO.java index <HASH>..<HASH> 100644 --- a/morphia/src/main/java/com/google/code/morphia/DAO.java +++ b/morphia/src/main/java/com/google/code/morphia/DAO.java @@ -61,6 +61,10 @@ public class DAO<T,K exten...
Added a method to delete by Constraints to the DAO.
MorphiaOrg_morphia
train
59db3964ae5705bf853eaf28bc46105fe5b6a92d
diff --git a/lib/puppet-lint/plugins/check_resources.rb b/lib/puppet-lint/plugins/check_resources.rb index <HASH>..<HASH> 100644 --- a/lib/puppet-lint/plugins/check_resources.rb +++ b/lib/puppet-lint/plugins/check_resources.rb @@ -138,6 +138,7 @@ class PuppetLint::Plugins::CheckResources < PuppetLint::CheckPlugin ...
Allow file modes to be an unquoted undef Closes #<I>
rodjek_puppet-lint
train
ba4abced481cc1e78be403bc3091bd2ebf163565
diff --git a/tests/PHPUnit/System/TwoVisitorsTwoWebsitesDifferentDaysTest.php b/tests/PHPUnit/System/TwoVisitorsTwoWebsitesDifferentDaysTest.php index <HASH>..<HASH> 100755 --- a/tests/PHPUnit/System/TwoVisitorsTwoWebsitesDifferentDaysTest.php +++ b/tests/PHPUnit/System/TwoVisitorsTwoWebsitesDifferentDaysTest.php @@ -3...
Add ability to customise the font family in HTML email reports
matomo-org_matomo
train
106ff4167e3a811294477b776157f14e04b7b45e
diff --git a/transport/wseb/src/main/java/org/kaazing/gateway/transport/wseb/WsebUpstreamHandler.java b/transport/wseb/src/main/java/org/kaazing/gateway/transport/wseb/WsebUpstreamHandler.java index <HASH>..<HASH> 100644 --- a/transport/wseb/src/main/java/org/kaazing/gateway/transport/wseb/WsebUpstreamHandler.java +++ ...
Corrected wseb connector spec test ClosingIT.shouldPerformServerInitiatedClose not to close the wsebSession since the server side rpt script does this. Cosmetic change to WsebUpstreamHandler.
kaazing_gateway
train
09e54ff08c384906c4e54307796b98ccf5ceacfe
diff --git a/group.go b/group.go index <HASH>..<HASH> 100644 --- a/group.go +++ b/group.go @@ -34,6 +34,9 @@ type Groups struct { Groups []*Group `json:"groups"` } +// Create a new Application Group +// Params: +// name: the name of the group func NewApplicationGroup(name string) *Group { return &G...
[groups] - adding some extra documentation - trying to be good :-)
gambol99_go-marathon
train
e4c52ce2e5fcc0b031d9c4e0e9702ef9d5a59b83
diff --git a/aws/resource_aws_lambda_event_source_mapping_test.go b/aws/resource_aws_lambda_event_source_mapping_test.go index <HASH>..<HASH> 100644 --- a/aws/resource_aws_lambda_event_source_mapping_test.go +++ b/aws/resource_aws_lambda_event_source_mapping_test.go @@ -362,7 +362,7 @@ func TestAccAWSLambdaEventSourceM...
rename TestAccAWSLambdaEventSourceMapping_BatchWindow -> TestAccAWSLambdaEventSourceMapping_KinesisBatchWindow
terraform-providers_terraform-provider-aws
train
ef9c8cc46c096134a0b5738f801e5a9600715b04
diff --git a/src/Ups/Shipping.php b/src/Ups/Shipping.php index <HASH>..<HASH> 100644 --- a/src/Ups/Shipping.php +++ b/src/Ups/Shipping.php @@ -441,7 +441,7 @@ class Shipping extends Ups $request->appendChild($node); $request->appendChild($xml->createElement('RequestAction', 'ShipAccept')); - ...
Shipping - Line <I> - we need to use the ShipmentDigest string as a parameter, and not the stdObject
gabrielbull_php-ups-api
train
768d1019b2ee1ec7b936826df3a3ee7b9fdec84b
diff --git a/client/jetpack-connect/authorize.js b/client/jetpack-connect/authorize.js index <HASH>..<HASH> 100644 --- a/client/jetpack-connect/authorize.js +++ b/client/jetpack-connect/authorize.js @@ -210,6 +210,7 @@ export class JetpackAuthorize extends Component { this.isSso() || this.isWooRedirect() || ...
Jetpack Connect: Add a new condition to force redirect to wp-admin (#<I>) Add a new condition to the Jetpack Connect authorization flow: if the request has a `from=jetpack-block-editor` query parameter, redirect to the provided `redirect_uri` once the authorization is complete.
Automattic_wp-calypso
train
06bd093a6d3a34bd7bc48abe8cbede4e5c6d6fc7
diff --git a/src/MetaModels/DcGeneral/Events/Table/RenderSettings/Subscriber.php b/src/MetaModels/DcGeneral/Events/Table/RenderSettings/Subscriber.php index <HASH>..<HASH> 100644 --- a/src/MetaModels/DcGeneral/Events/Table/RenderSettings/Subscriber.php +++ b/src/MetaModels/DcGeneral/Events/Table/RenderSettings/Subscrib...
Silence phpStorm inspection.
MetaModels_core
train
31c218ce09ead9036c033b868571a4d4dd75b110
diff --git a/lib/chef/exceptions.rb b/lib/chef/exceptions.rb index <HASH>..<HASH> 100644 --- a/lib/chef/exceptions.rb +++ b/lib/chef/exceptions.rb @@ -442,5 +442,20 @@ class Chef super "PID file and lockfile are not permitted to match. Specify a different location with --pid or --lockfile" end end ...
ResourceStore does not deal with exceptions Also, added a more specific exception for when we cannot find the resource
chef_chef
train
1a5627025d43cec43e0ff72a133c49d396235c59
diff --git a/core/src/main/java/com/google/errorprone/bugpatterns/MissingTestCall.java b/core/src/main/java/com/google/errorprone/bugpatterns/MissingTestCall.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/com/google/errorprone/bugpatterns/MissingTestCall.java +++ b/core/src/main/java/com/google/errorprone/bu...
MissingTestCall: deal with graphVerify cases. This is a bit imperfect, as it looks for a #start call within the same test method (to avoid false positives from people assigning the stub to a variable, and then carrying on, but finally calling #start). It does catch a lot of horrors though! Flume: unknown commit Piper...
google_error-prone
train
091c177466b2f7a6126815bd61141073510cc328
diff --git a/xwiki-rendering-transformations/xwiki-rendering-transformation-linkchecker/src/test/java/org/xwiki/rendering/internal/transformation/linkchecker/LinkCheckerThreadTest.java b/xwiki-rendering-transformations/xwiki-rendering-transformation-linkchecker/src/test/java/org/xwiki/rendering/internal/transformation/...
XRENDERING-<I>: Fail the build when unit test output content to stdout or stderr * Try to fix a log printed in the console (cause by the change brought to MockitoComponentMockingRule in XCOMMONS-<I>)
xwiki_xwiki-rendering
train
fe1021cc9f3c56a0419661056efdbb7c29df2c4a
diff --git a/src/main/resources/META-INF/resources/primefaces/datepicker/0-datepicker.js b/src/main/resources/META-INF/resources/primefaces/datepicker/0-datepicker.js index <HASH>..<HASH> 100644 --- a/src/main/resources/META-INF/resources/primefaces/datepicker/0-datepicker.js +++ b/src/main/resources/META-INF/resources...
Fix primefaces#<I>: Only update viewDate if it is really a date (#<I>)
primefaces_primefaces
train
16545eb9ad295360c22ef86c39405cfe9c749621
diff --git a/Library/CoreLibrary.php b/Library/CoreLibrary.php index <HASH>..<HASH> 100644 --- a/Library/CoreLibrary.php +++ b/Library/CoreLibrary.php @@ -4,6 +4,8 @@ * (c) Studio107 <mail@studio107.ru> http://studio107.ru * For the full copyright and license information, please view * the LICENSE file that was d...
fix sitemap bundle configuration, added AuthForm for admin bundle
MindyPHP_MindyBundle
train
30f795719b310999431d29573085be119c443fde
diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index <HASH>..<HASH> 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -412,7 +412,7 @@ class Configuration implements ConfigurationInterface ->...
Default elasticsearch handler transport uppercase first character
symfony_monolog-bundle
train
6836afbf62082f3d58efd8b4a92bab5f89887b42
diff --git a/tests/test_struct.py b/tests/test_struct.py index <HASH>..<HASH> 100644 --- a/tests/test_struct.py +++ b/tests/test_struct.py @@ -337,3 +337,8 @@ def test_repr_with_value_exception(Struct): raise MyException("bummer") repr(Struct({'a': Fisk()})) + + +@pytest.mark.skipif(sys.vers...
Test to show (for python 3) that keys need to be comparable
TriOptima_tri.struct
train
275f48c4c2a986280cc2523a1457ea4b565774b0
diff --git a/hollow/src/main/java/com/netflix/hollow/core/write/objectmapper/HollowObjectTypeMapper.java b/hollow/src/main/java/com/netflix/hollow/core/write/objectmapper/HollowObjectTypeMapper.java index <HASH>..<HASH> 100644 --- a/hollow/src/main/java/com/netflix/hollow/core/write/objectmapper/HollowObjectTypeMapper....
Fixed an issue where we were incorrectly walking up the Enum object hierarchy
Netflix_hollow
train
7613f3e83e1705052fa178f60b988889a731c3af
diff --git a/tools/pauli.py b/tools/pauli.py index <HASH>..<HASH> 100755 --- a/tools/pauli.py +++ b/tools/pauli.py @@ -101,15 +101,29 @@ def random_pauli(numberofqubits): return Pauli(v, w) def sgn_prod(P1, P2): - """Multiply two Paulis P1*P2 and track the sign""" + """Multiply two Paulis P1*P2 and track ...
track phase in product of pauli
Qiskit_qiskit-terra
train
b6ee93b70e84c4abb1f936a47ec85e90d1cbffb8
diff --git a/README.md b/README.md index <HASH>..<HASH> 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ Here are two small examples to get you up and running in ~ten seconds. Please co ```php use oscarpalmer\Shelf\Request; -$request = new Request($server); +$request = new Request($server); # Or new Request...
<I> tiny bugfix for something i'm sure i've borked and fixed before
oscarpalmer_shelf
train
b922c56cf7b5d86514b271962b47c81ca2b88a18
diff --git a/src/main/java/com/github/jreddit/user/UserInfo.java b/src/main/java/com/github/jreddit/user/UserInfo.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/github/jreddit/user/UserInfo.java +++ b/src/main/java/com/github/jreddit/user/UserInfo.java @@ -45,7 +45,8 @@ public class UserInfo { // UTC tim...
Added toString() method to UserInfo.java. Perhaps useful for debugging?
jReddit_jReddit
train
e80c45e792c5b69feb382b1cdb70ad4c63400ec0
diff --git a/lib/core.js b/lib/core.js index <HASH>..<HASH> 100644 --- a/lib/core.js +++ b/lib/core.js @@ -70,15 +70,13 @@ Slayer.prototype = { * Configures the internal filters of a slayer instance */ configureFilters: function configureFilters(config){ - if (config.hasOwnProperty('minPeakHeight')) { - ...
Remove unncessary check as minPeakDistance is always available
bbc_slayer
train
a7fecfa3ac9beeeaa0bc145e271bcdb2ca36d1b4
diff --git a/smart_open/tests/test_s3.py b/smart_open/tests/test_s3.py index <HASH>..<HASH> 100644 --- a/smart_open/tests/test_s3.py +++ b/smart_open/tests/test_s3.py @@ -382,8 +382,6 @@ class BufferedOutputBaseTest(unittest.TestCase): fout.write(expected) def test_read_nonexisting_key(self): - ...
Fix merge artifact (#<I>) Two separate PRs were touching the same code. [1] modified the bucket handling to perform it at module load time. In the meanwhile, [2] fixed a broken test by relying on functionality that wasn't around after [1] got merged. [1] <URL>
RaRe-Technologies_smart_open
train
38ea56fe4be929b498478e21931220ba485dea5f
diff --git a/build/deps.js b/build/deps.js index <HASH>..<HASH> 100644 --- a/build/deps.js +++ b/build/deps.js @@ -1,36 +1,52 @@ var deps = { + LeafletExtensions: { + src: [ + 'ext/LineUtil.js', + 'ext/Polyline.js', + 'ext/Polygon.js' + ], + desc: 'Extensions to Leaflet to add intersection detection.' + }, + ...
Add leaflet extensions to build script.
Leaflet_Leaflet.draw
train
32933821bb488c683e6bf8acad54be7f9a7b033b
diff --git a/common/src/main/java/io/netty/util/concurrent/AbstractFuture.java b/common/src/main/java/io/netty/util/concurrent/AbstractFuture.java index <HASH>..<HASH> 100644 --- a/common/src/main/java/io/netty/util/concurrent/AbstractFuture.java +++ b/common/src/main/java/io/netty/util/concurrent/AbstractFuture.java @...
AbstractFuture should not wrap CancellationException Motivation: AbstractFuture currently wraps CancellationException in a ExecutionException. However the interface of Future says that this exception should be directly thrown. Modifications: - Throw CancellationException from AbstractFuture.get Result: Interface con...
netty_netty
train
0203f08eb5f36459c78cc7b11b1f890ba1121b87
diff --git a/src/system/modules/metamodels/MetaModelFactory.php b/src/system/modules/metamodels/MetaModelFactory.php index <HASH>..<HASH> 100644 --- a/src/system/modules/metamodels/MetaModelFactory.php +++ b/src/system/modules/metamodels/MetaModelFactory.php @@ -81,21 +81,39 @@ class MetaModelFactory /*extends System*/...
implemented factory switching concept for meta models.
MetaModels_core
train
2ce8083acf702c27d120724d912aaf2c893d05b8
diff --git a/airflow/configuration.py b/airflow/configuration.py index <HASH>..<HASH> 100644 --- a/airflow/configuration.py +++ b/airflow/configuration.py @@ -337,7 +337,8 @@ def mkdir_p(path): if exc.errno == errno.EEXIST and os.path.isdir(path): pass else: - raise AirflowConf...
[AIRFLOW-<I>] Include message on mkdir failure Closes #<I> from wrp/errstr
apache_airflow
train
97fc3e2a57d64a5ea97728c1b49f1fefd53f86a4
diff --git a/specs/cssbrush.js b/specs/cssbrush.js index <HASH>..<HASH> 100644 --- a/specs/cssbrush.js +++ b/specs/cssbrush.js @@ -40,7 +40,7 @@ describe( 'csscomb', function () { } ); after( function () { //eslint-disable-line - //fs.removeSync( './tmp' ); + fs.removeSync( './tmp' ); } ); } );
BLD: Remove test resources created during tests
royriojas_cssbrush
train
8f0ed61a0244142d12e52e0f5040ef846184b257
diff --git a/org.jenetics/src/test/java/org/jenetics/PopulationTest.java b/org.jenetics/src/test/java/org/jenetics/PopulationTest.java index <HASH>..<HASH> 100644 --- a/org.jenetics/src/test/java/org/jenetics/PopulationTest.java +++ b/org.jenetics/src/test/java/org/jenetics/PopulationTest.java @@ -29,22 +29,21 @@ impor...
Mark non-array methods in 'arrays' class as deprecated.
jenetics_jenetics
train
bf3d22948bfea3b130697d9e8e332dd9dc0ca2ab
diff --git a/Kwc/Abstract/Image/DimensionField.php b/Kwc/Abstract/Image/DimensionField.php index <HASH>..<HASH> 100644 --- a/Kwc/Abstract/Image/DimensionField.php +++ b/Kwc/Abstract/Image/DimensionField.php @@ -25,10 +25,10 @@ class Kwc_Abstract_Image_DimensionField extends Kwf_Form_Field_Abstract if ($row->ge...
Change if-check to also consider value zero
koala-framework_koala-framework
train
0289a3b71468dc27797d9862ce685fff1fb6fa71
diff --git a/framework/core/js/src/forum/components/NotificationList.js b/framework/core/js/src/forum/components/NotificationList.js index <HASH>..<HASH> 100644 --- a/framework/core/js/src/forum/components/NotificationList.js +++ b/framework/core/js/src/forum/components/NotificationList.js @@ -73,7 +73,7 @@ export defa...
Fix 0s in notification dropdown By casting the length int to a bool, if there are no badges, we don't display a 0. It seems that mithril will render integers, but not booleans. Fixes <URL>
flarum_core
train
9282c8b27146107340b260e176136b06b247d6e0
diff --git a/lib/terminal-table/table.rb b/lib/terminal-table/table.rb index <HASH>..<HASH> 100644 --- a/lib/terminal-table/table.rb +++ b/lib/terminal-table/table.rb @@ -59,6 +59,7 @@ module Terminal buffer = seperator << "\n" if has_headings? buffer << Y + headings.map_with_index do |heading, ...
Refactoring #render some more
tj_terminal-table
train
438fb1d85a83812c389774b94802eb5921c89e3a
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -40,7 +40,7 @@ except (IOError, ImportError, RuntimeError): long_description = 'Tools for manipulating and parsing vcf files' setup(name='vcftoolbox', - version='1.5', + version='1.5.1', description='Tools f...
Bumped version to <I>
moonso_vcftoolbox
train
f509ac619c74c9ab40e6af3ea08672391ec0c924
diff --git a/airflow/jobs.py b/airflow/jobs.py index <HASH>..<HASH> 100644 --- a/airflow/jobs.py +++ b/airflow/jobs.py @@ -603,7 +603,7 @@ class SchedulerJob(BaseJob): for pool, tis in list(d.items()): if not pool: # Arbitrary: - # If queued outside of a pool, trigg...
Fix typo in comment in prioritize_queued method
apache_airflow
train
bb69a3d2843061c3f6728f6e29a13d73730d3457
diff --git a/retrieval/target.go b/retrieval/target.go index <HASH>..<HASH> 100644 --- a/retrieval/target.go +++ b/retrieval/target.go @@ -17,6 +17,7 @@ import ( "fmt" "math/rand" "net/http" + "net/url" "os" "strings" "sync" @@ -114,6 +115,8 @@ type Target interface { // points in this interface, this one...
Hide HTTP auth parts from URL This instroduces an extra function in the Target interface (PublicURL) which is used to populate the instance field in scraped metrics.
prometheus_prometheus
train
5f1970433d27916d7795c3877e94d831ff1d7371
diff --git a/babel.config.js b/babel.config.js index <HASH>..<HASH> 100644 --- a/babel.config.js +++ b/babel.config.js @@ -80,8 +80,7 @@ module.exports = function(api) { "@babel/plugin-proposal-optional-chaining", "@babel/plugin-proposal-nullish-coalescing-operator", - // Explicitly use the lazy ve...
chore: only apply lazy cjs module transform on cli and core (#<I>)
babel_babel
train
af9c60180df39b97ad6074e7a919d996223fe06d
diff --git a/pkg/oauth/server/osinserver/tokengen.go b/pkg/oauth/server/osinserver/tokengen.go index <HASH>..<HASH> 100644 --- a/pkg/oauth/server/osinserver/tokengen.go +++ b/pkg/oauth/server/osinserver/tokengen.go @@ -2,7 +2,6 @@ package osinserver import ( "encoding/base64" - "io" "strings" "crypto/rand" @...
Simplify reading of random bytes No need to use io.ReadFull, no need to convert error to string.
openshift_origin
train
e735a9688d92f410c9e2c9e83d30fce0acd8f398
diff --git a/src/views/jqadm/index.blade.php b/src/views/jqadm/index.blade.php index <HASH>..<HASH> 100644 --- a/src/views/jqadm/index.blade.php +++ b/src/views/jqadm/index.blade.php @@ -4,7 +4,7 @@ <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="widt...
Allow blob image data in admin backend
aimeos_aimeos-laravel
train
ea173c35b57eb4fe24cad4d9d24c859a2562ce0e
diff --git a/packages/wxa-cli/src/optimizer/splitDeps.js b/packages/wxa-cli/src/optimizer/splitDeps.js index <HASH>..<HASH> 100644 --- a/packages/wxa-cli/src/optimizer/splitDeps.js +++ b/packages/wxa-cli/src/optimizer/splitDeps.js @@ -1,6 +1,11 @@ import path from 'path'; import logger from '../helpers/logger'; +co...
fix(cli): Using color-mark to get rid of cicular-dependency while doing dep-split.
wxajs_wxa
train
737b53eb8b81ae8d0acf93e6a123b60517fbf447
diff --git a/tests/test_safeoutput.py b/tests/test_safeoutput.py index <HASH>..<HASH> 100644 --- a/tests/test_safeoutput.py +++ b/tests/test_safeoutput.py @@ -112,3 +112,10 @@ def test_write_stdout_after_close(capsys): out,err = capsys.readouterr() assert out == file_data + file_data assert err == "" + +...
Add a with style stdout test.
andrewguy9_safeoutput
train
fa98014bbe54a980cfb06676554968e0a1a60208
diff --git a/cmd/admin-handlers.go b/cmd/admin-handlers.go index <HASH>..<HASH> 100644 --- a/cmd/admin-handlers.go +++ b/cmd/admin-handlers.go @@ -1655,7 +1655,8 @@ func (a adminAPIHandlers) HealthInfoHandler(w http.ResponseWriter, r *http.Reque anonymizeCmdLine := func(cmdLine string) string { if !globalIsDistEra...
fix: hostname inside --console-address not anonymized (#<I>) In case of non-distributed setup, if the server start command contains a `--console-address` flag and its value contains a hostname, it is not getting anonymized. Fixed by replacing the console host also with `server1`
minio_minio
train
972981a61930bb0c5a9ab6a9045799395719e4e5
diff --git a/src/Symfony/Component/Form/Tests/ChoiceList/AbstractChoiceListTest.php b/src/Symfony/Component/Form/Tests/ChoiceList/AbstractChoiceListTest.php index <HASH>..<HASH> 100644 --- a/src/Symfony/Component/Form/Tests/ChoiceList/AbstractChoiceListTest.php +++ b/src/Symfony/Component/Form/Tests/ChoiceList/Abstract...
[Form] minor cs fix
symfony_symfony
train
873455d7c9777d742399089edee2a2690ff44c4d
diff --git a/packages/connected-components/src/notebook-menu/index.js b/packages/connected-components/src/notebook-menu/index.js index <HASH>..<HASH> 100644 --- a/packages/connected-components/src/notebook-menu/index.js +++ b/packages/connected-components/src/notebook-menu/index.js @@ -306,6 +306,15 @@ class PureNotebo...
chore: adding open directory item to NotebookApp
nteract_nteract
train
d1136340aa343c1e4780733c96b5219f80e40e84
diff --git a/python/rez/packages.py b/python/rez/packages.py index <HASH>..<HASH> 100644 --- a/python/rez/packages.py +++ b/python/rez/packages.py @@ -1,6 +1,9 @@ """ rez packages """ + +from __future__ import with_statement + import os.path import re import sys @@ -57,7 +60,7 @@ def package_family(name, paths=No...
+ Add future import of with statement for Python <I> compatibility. + Change iterator syntax to be compatible with Python <I>.
nerdvegas_rez
train
5cffee9e87aa94d8d2cd06794bc1af47e149f579
diff --git a/nearpy/engine.py b/nearpy/engine.py index <HASH>..<HASH> 100644 --- a/nearpy/engine.py +++ b/nearpy/engine.py @@ -96,6 +96,21 @@ class Engine(object): self.storage.store_vector(lshash.hash_name, bucket_key, nv, data) + def store_many_vectors(...
add Engine.store_many_vectors() for uploading to Redis using pipeline. Significantly increase the speed
pixelogik_NearPy
train
8ffbd5415f3798499ebeea822d99f45255ede07e
diff --git a/src/Option.php b/src/Option.php index <HASH>..<HASH> 100644 --- a/src/Option.php +++ b/src/Option.php @@ -241,21 +241,21 @@ class Option )); } - if ($value !== null && $this->mode !== Getopt::NO_ARGUMENT) { - if ($this->getArgument()->hasValidation() && !$this->get...
change the order for checking arguments and always use the validation This way it is possible to add validation for NO_ARGUMENT options. And therefore to add an explicit validation. An example is given in ArgumentsTest.
getopt-php_getopt-php
train
87de0dfd24d167e1ea2892dd377bab2217efffd2
diff --git a/skitai/skitaid.py b/skitai/skitaid.py index <HASH>..<HASH> 100644 --- a/skitai/skitaid.py +++ b/skitai/skitaid.py @@ -79,29 +79,33 @@ class Service (daemon.Daemon): def start (self): self.create () - while 1: - exitcode = self.child.poll () - if exitcode is None: - self.set_backoff (True...
handle KeyboardInterrupt on posix
hansroh_skitai
train
8de158146851b99a72d5538d2abf5dc5172ec4be
diff --git a/lib/datagrid/columns.rb b/lib/datagrid/columns.rb index <HASH>..<HASH> 100644 --- a/lib/datagrid/columns.rb +++ b/lib/datagrid/columns.rb @@ -16,10 +16,11 @@ module Datagrid self.columns_array = [] datagrid_attribute :column_names do |names| - if names.blank? + names =...
Don't include blank for enum multiple by default
bogdan_datagrid
train